public class EPPAllocationTokenInfo extends java.lang.Object implements EPPCodecComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the launch phase info extension local name
|
static java.lang.String |
ELM_NAME
Constant for the launch phase info extension tag
|
Constructor and Description |
---|
EPPAllocationTokenInfo()
Create an
EPPAllocationTokenInfo instance |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPAllocationTokenInfo . |
void |
decode(org.w3c.dom.Element aElement)
Decode the DOM element to the
EPPAllocationTokenInfo . |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode the
EPPAllocationTokenInfo to a DOM Element |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPAllocationTokenInfo compare. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public EPPAllocationTokenInfo()
EPPAllocationTokenInfo
instancepublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPAllocationTokenInfo
to a DOM Elementencode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPAllocationTokenInfo
.decode
in interface EPPCodecComponent
aElement
- DOM Element to decode the attribute valuesEPPDecodeException
- Error decoding the DOM Elementpublic boolean equals(java.lang.Object aObject)
EPPAllocationTokenInfo
compare.equals
in class java.lang.Object
aObject
- EPPAllocationTokenInfo
instance to compare withpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPAllocationTokenInfo
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPAllocationTokenInfo
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.