Class 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 name
      static java.lang.String ELM_NAME
      Constant for the launch phase info extension tag
    • Constructor Summary

      Constructors 
      Constructor Description
      EPPAllocationTokenInfo()
      Create an EPPAllocationTokenInfo instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • EPPAllocationTokenInfo

        public EPPAllocationTokenInfo()
        Create an EPPAllocationTokenInfo instance
    • Method Detail

      • encode

        public org.w3c.dom.Element encode​(org.w3c.dom.Document aDocument)
                                   throws EPPEncodeException
        Encode the EPPAllocationTokenInfo to a DOM Element
        Specified by:
        encode in interface EPPCodecComponent
        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 the EPPAllocationTokenInfo.
        Specified by:
        decode in interface EPPCodecComponent
        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 deep EPPAllocationTokenInfo compare.
        Overrides:
        equals in class java.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
        Clone EPPAllocationTokenInfo.
        Specified by:
        clone in interface EPPCodecComponent
        Overrides:
        clone in class java.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 the EPPCodecComponent.
        Specified by:
        getNamespace in interface EPPCodecComponent
        Returns:
        XML namespace for the EPPCodecComponent.