|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.rgpext.EPPRgpExtInfData
public class EPPRgpExtInfData
The EPPRgpExtInfData is the EPPCodecComponent that knows how to encode and decode RGP infData elements from/to XML and object instance.
Field Summary | |
---|---|
static java.lang.String |
ELM_NAME
Element tag name for the infData |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. addStatus(EPPRgpExtStatus) |
void |
setStatuses(java.util.Vector aStatuses)
Sets the Vector of statuses of type EPPRgpExtStatus . |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ELM_NAME
Constructor Detail |
---|
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.Method Detail |
---|
public java.lang.String getNamespace()
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- The DOM Document to append data to
Element
EPPEncodeException
- 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 EPPCodecComponent
aElement
- The root element of the report fragment of XML
EPPDecodeException
- Thrown if any errors occur during decoding.public boolean equals(java.lang.Object aObject)
EPPRgpExtInfData
compare.
equals
in class java.lang.Object
aObject
- EPPRgpExtInfData
instance to compare with
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRgpExtInfData
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRgpExtInfData
java.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.
public 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |