|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.domain.EPPHostAttr
public class EPPHostAttr
DOCUMENT ME!
Constructor Summary | |
---|---|
EPPHostAttr()
EPPHostAttr default constructor. |
|
EPPHostAttr(java.lang.String aName)
EPPHostAttr constructor the takes the host name. |
|
EPPHostAttr(java.lang.String aName,
java.util.Vector aAddresses)
EPPHostAttr constructor the takes the host name and a
Vector of host addresses. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPHostAttr . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPHostAttr attributes from the aElement DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPHostAttr instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPHostAttr compare. |
java.util.Vector |
getAddresses()
Gets the host addresses. |
java.lang.String |
getName()
Get the host name. |
void |
setAddresses(java.util.Vector aAddresses)
Sets the host addresses. |
void |
setName(java.lang.String aName)
Set the host name. |
java.lang.String |
toString()
Implementation of Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EPPHostAttr()
EPPHostAttr
default constructor.
public EPPHostAttr(java.lang.String aName)
EPPHostAttr
constructor the takes the host name.
aName
- the fully qualified name of a hostpublic EPPHostAttr(java.lang.String aName, java.util.Vector aAddresses)
EPPHostAttr
constructor the takes the host name and a
Vector
of host addresses.
aName
- the fully qualified name of a hostaAddresses
- Vector
of EPPHostAddress
instancesMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String aName)
aName
- Host Namepublic java.util.Vector getAddresses()
EPPHostAddress
instances if defined;
null
otherwise.public void setAddresses(java.util.Vector aAddresses)
aAddresses
- Vector of EPPHostAddress
instances.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPHostAttr
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPHostAttr
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
decode
in interface EPPCodecComponent
aElement
- - Root DOM Element to decode EPPHostAttr from.
EPPDecodeException
- Unable to decode aElementpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- - DOM Document that is being built. Used as an Element
factory.
EPPEncodeException
- - Unable to encode EPPHostAttr instance.public boolean equals(java.lang.Object aObject)
EPPHostAttr
compare.
equals
in class java.lang.Object
aObject
- EPPHostAttr
instance to compare with
public java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.
toString
in class java.lang.Object
String
if successful;
ERROR
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |