|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.host.EPPHostAddRemove
public class EPPHostAddRemove
Represents attributes to add, remove or change with a
EPPHostUpdateCmd. In EPPHostUpdateCmd, an
instance of EPPHostAddRemove is used to specify the
attributes to add, an instance of EPPHostAddRemove is used
to specify the attributes to remove and instance of
EPPHostAddRemove is used to specify the attributes to change
The <host:add> and <host:rem> elements SHALL contain the
following child elements:
EPPHostUpdateCmd,
EPPHostAddress,
Serialized Form| Constructor Summary | |
|---|---|
EPPHostAddRemove()
Default constructor for EPPHostAddRemove. |
|
EPPHostAddRemove(java.lang.String aName)
Constructor for EPPHostAddRemove. |
|
EPPHostAddRemove(java.util.Vector aAddresses)
Constructor for EPPHostAddRemove that includes the
attributes as arguments. |
|
EPPHostAddRemove(java.util.Vector aAddresses,
java.util.Vector aStatuses)
Constructor for EPPHostAddRemove that includes the
attributes as arguments. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPHostAddRemove. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPHostAddRemove 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 EPPHostAddRemove instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPHostAddRemove compare. |
java.util.Vector |
getAddresses()
Gets the addresses to add or remove. |
java.lang.String |
getName()
Gets name. |
java.util.Vector |
getStatuses()
Gets statuses. |
void |
setAddresses(java.util.Vector aAddresses)
Sets the addresses to add or remove. |
void |
setName(java.lang.String aName)
Sets name. |
void |
setStatuses(java.util.Vector aStatuses)
Sets statuses. |
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 EPPHostAddRemove()
EPPHostAddRemove. The addresses
attribute defaults to null.
public EPPHostAddRemove(java.util.Vector aAddresses)
EPPHostAddRemove that includes the
attributes as arguments.
aAddresses - Vector of EPPHostAddress instances. Is
null or empty for no modifications.public EPPHostAddRemove(java.lang.String aName)
EPPHostAddRemove. The addresses attribute
defaults to null.
aName - DOCUMENT ME!
public EPPHostAddRemove(java.util.Vector aAddresses,
java.util.Vector aStatuses)
EPPHostAddRemove that includes the
attributes as arguments.
aAddresses - Vector of EPPHostAddress instances. Is
null or empty for no modifications.aStatuses - Vector of EPPHostStatus instances. Is
null or empty for no modifications.| Method Detail |
|---|
public java.util.Vector getAddresses()
EPPHostAddress instances if defined;
null otherwise.public void setAddresses(java.util.Vector aAddresses)
aAddresses - Vector of EPPHostAddress instances.
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPHostAddRemove instance.
encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element
factory.
EPPHostAddRemove
instance.
EPPEncodeException - Unable to encode
EPPHostAddRemove instance.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPHostAddRemove attributes from the
aElement DOM Element tree.
decode in interface EPPCodecComponentaElement - Root DOM Element to decode EPPHostAddRemove
from.
EPPDecodeException - Unable to decode aElement.public boolean equals(java.lang.Object aObject)
EPPHostAddRemove compare.
equals in class java.lang.ObjectaObject - EPPHostAddRemove instance to compare with
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPHostAddRemove.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPHostAddRemove
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String toString()
Object.toString, which will result in
an indented XML String representation of the concrete
EPPCodecComponent.
toString in class java.lang.ObjectString if successful;
ERROR otherwise.public java.lang.String getName()
public java.util.Vector getStatuses()
Vector of EPPHostStatus if defined;
null otherwise.public void setName(java.lang.String aName)
aName - Stringpublic void setStatuses(java.util.Vector aStatuses)
aStatuses - Vector of EPPHostStatus
instances
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||