public class EPPRgpExtInfData extends java.lang.Object implements EPPCodecComponent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_NAME
Element tag name for the infData
|
| Constructor and Description |
|---|
EPPRgpExtInfData()
Instantiate a new instance of EPPRgpExtInfData
|
EPPRgpExtInfData(EPPRgpExtStatus aStatus)
Creates a new instance of the
EPPRgpExtInfData
with a status element. |
EPPRgpExtInfData(java.util.Vector aStatuses)
Creates a new instance of the
EPPRgpExtInfData
with a Vector of status elements. |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatus(EPPRgpExtStatus aStatus)
Adds the status of type
EPPRgpExtStatus to the Vector
of statuses. |
java.lang.Object |
clone()
Clone
EPPRgpExtInfData. |
void |
decode(org.w3c.dom.Element aElement)
Populate the data of this instance with the data stored in the
given Element of the DOM tree
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Append all data from this RGP inf data to the given DOM Document
|
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRgpExtInfData compare. |
java.lang.String |
getNamespace()
The namespace associated with this RGP inf data.
|
EPPRgpExtStatus |
getStatus()
Gets the first status if there is one;
null otherwise. |
java.util.Vector |
getStatuses()
Gets the
Vector of statuses of type EPPRgpExtStatus. |
void |
setStatus(EPPRgpExtStatus aStatus)
Deprecated.
|
void |
setStatuses(java.util.Vector aStatuses)
Sets the
Vector of statuses of type EPPRgpExtStatus. |
public static final java.lang.String ELM_NAME
public EPPRgpExtInfData()
public EPPRgpExtInfData(EPPRgpExtStatus aStatus)
EPPRgpExtInfData
with a status element.aStatus - Associated status element.public EPPRgpExtInfData(java.util.Vector aStatuses)
EPPRgpExtInfData
with a Vector of status elements.aStatuses - Vector of EPPRgpExtStatus status elements. Only a non-null
value will be used.public java.lang.String getNamespace()
getNamespace in interface EPPCodecComponentpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - The DOM Document to append data toElementEPPEncodeException - Thrown when errors occur during the
encode attempt or if the instance is invalid.public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
decode in interface EPPCodecComponentaElement - The root element of the report fragment of XMLEPPDecodeException - Thrown if any errors occur during decoding.public boolean equals(java.lang.Object aObject)
EPPRgpExtInfData compare.equals in class java.lang.ObjectaObject - EPPRgpExtInfData instance to compare withpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRgpExtInfData.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRgpExtInfDatajava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic EPPRgpExtStatus getStatus()
null otherwise.EPPRgpExtStatus if set;null otherwise.public void setStatus(EPPRgpExtStatus aStatus)
addStatus(EPPRgpExtStatus)EPPRgpExtStatus to the Vector
of statuses.aStatus - Adds the status to the statusespublic void addStatus(EPPRgpExtStatus aStatus)
EPPRgpExtStatus to the Vector
of statuses.aStatus - Status to addpublic java.util.Vector getStatuses()
Vector of statuses of type EPPRgpExtStatus.null Vector of EPPRgpExtStatus instances.public void setStatuses(java.util.Vector aStatuses)
Vector of statuses of type EPPRgpExtStatus.aStatuses - Statuses to use. If null the parameter will be ignored.