|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neulevel.epp.core.EppEntity
com.neulevel.epp.core.EppHostAttribute
public class EppHostAttribute
This EppHostAttribute class implements EPP hostAttrType entity
that is used by EppDomain objects.
| Constructor Summary | |
|---|---|
EppHostAttribute(java.lang.String hostname)
Creates an EppHostAttribute object with a host name |
|
EppHostAttribute(java.lang.String hostname,
java.util.Vector address)
Creates an EppHostAttribute object with a host name
and a list of EppIpAddress objects |
|
| Method Summary | |
|---|---|
void |
addIpAddress(EppIpAddress address)
Adds an ip address to the list of ip addresses associated with the host name |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppHostAttribute object. |
java.lang.String |
getHostName()
Gets the host name |
java.util.Vector |
getIpAddress()
Gets the list of ip addresses associated with the host name |
void |
setHostName(java.lang.String hostname)
Sets the host name |
void |
setIpAddress(java.util.Vector address)
Sets the list of ip addresses associated with the host name |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppHostAttribute object into an XML element |
| Methods inherited from class com.neulevel.epp.core.EppEntity |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EppHostAttribute(java.lang.String hostname)
EppHostAttribute object with a host name
public EppHostAttribute(java.lang.String hostname,
java.util.Vector address)
EppHostAttribute object with a host name
and a list of EppIpAddress objects
| Method Detail |
|---|
public java.lang.String getHostName()
public void setHostName(java.lang.String hostname)
public java.util.Vector getIpAddress()
public void setIpAddress(java.util.Vector address)
public void addIpAddress(EppIpAddress address)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppHostAttribute object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppHostAttribute
object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppHostAttribute object.
The caller of this method must make sure that the root node is of
the EPP Contact Type type.
root - root node for an EppHostAttribute object
in XML format
EppHostAttribute object, or null if the node
is invalidpublic java.lang.String toString()
toString in class EppEntity
|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||