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.StringELM_LOCALNAMEConstant for the launch phase info extension local namestatic java.lang.StringELM_NAMEConstant for the launch phase info extension tag
-
Constructor Summary
Constructors Constructor Description EPPAllocationTokenInfo()Create anEPPAllocationTokenInfoinstance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPAllocationTokenInfo.voiddecode(org.w3c.dom.Element aElement)Decode the DOM element to theEPPAllocationTokenInfo.org.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Encode theEPPAllocationTokenInfoto a DOM Elementbooleanequals(java.lang.Object aObject)implements a deepEPPAllocationTokenInfocompare.java.lang.StringgetNamespace()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 EPPEncodeExceptionEncode theEPPAllocationTokenInfoto a DOM Element- Specified by:
encodein 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 EPPDecodeExceptionDecode the DOM element to theEPPAllocationTokenInfo.- Specified by:
decodein 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 deepEPPAllocationTokenInfocompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPAllocationTokenInfoinstance to compare with- Returns:
- true if equal false otherwise
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPAllocationTokenInfo.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein 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:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
-