Class EPPAllocationTokenInfo
- java.lang.Object
-
- com.verisign.epp.codec.allocationtoken.EPPAllocationTokenInfo
-
- All Implemented Interfaces:
EPPCodecComponent
,java.io.Serializable
,java.lang.Cloneable
public class EPPAllocationTokenInfo extends java.lang.Object implements EPPCodecComponent
Extension to the domain info command to the allocation token associated with the domain name.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELM_LOCALNAME
Constant for the launch phase info extension local namestatic java.lang.String
ELM_NAME
Constant for the launch phase info extension tag
-
Constructor Summary
Constructors Constructor Description EPPAllocationTokenInfo()
Create anEPPAllocationTokenInfo
instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
CloneEPPAllocationTokenInfo
.void
decode(org.w3c.dom.Element aElement)
Decode the DOM element to theEPPAllocationTokenInfo
.org.w3c.dom.Element
encode(org.w3c.dom.Document aDocument)
Encode theEPPAllocationTokenInfo
to a DOM Elementboolean
equals(java.lang.Object aObject)
implements a deepEPPAllocationTokenInfo
compare.java.lang.String
getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
Constant for the launch phase info extension local name- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
Constant for the launch phase info extension tag- See Also:
- Constant Field Values
-
-
Method Detail
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
Encode theEPPAllocationTokenInfo
to a DOM Element- Specified by:
encode
in interfaceEPPCodecComponent
- Parameters:
aDocument
- a DOM Document to attach data to.- Returns:
- The root element of this component.
- Throws:
EPPEncodeException
- Thrown if any errors prevent encoding.
-
decode
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
Decode the DOM element to theEPPAllocationTokenInfo
.- Specified by:
decode
in interfaceEPPCodecComponent
- Parameters:
aElement
- DOM Element to decode the attribute values- Throws:
EPPDecodeException
- Error decoding the DOM Element
-
equals
public boolean equals(java.lang.Object aObject)
implements a deepEPPAllocationTokenInfo
compare.- Overrides:
equals
in classjava.lang.Object
- Parameters:
aObject
-EPPAllocationTokenInfo
instance to compare with- Returns:
- true if equal false otherwise
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
CloneEPPAllocationTokenInfo
.- Specified by:
clone
in interfaceEPPCodecComponent
- Overrides:
clone
in classjava.lang.Object
- Returns:
- clone of
EPPAllocationTokenInfo
- Throws:
java.lang.CloneNotSupportedException
- standard Object.clone exception
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.- Specified by:
getNamespace
in interfaceEPPCodecComponent
- Returns:
- XML namespace for the
EPPCodecComponent
.
-
-