Class EPPRgpExtUpData

java.lang.Object
com.verisign.epp.codec.rgpext.EPPRgpExtUpData
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPRgpExtUpData extends Object implements EPPCodecComponent
The EPPRgpExtUpData is the EPPCodecComponent that knows how to encode and decode RGP upData elements from/to XML and object instance.
See Also:
  • Field Details

  • Constructor Details

    • EPPRgpExtUpData

      public EPPRgpExtUpData()
      Create a new instance of the EPPRgpExtUpData
    • EPPRgpExtUpData

      public EPPRgpExtUpData(EPPRgpExtStatus aStatus)
      Creates a new instance of the EPPRgpExtUpData with the status element.
      Parameters:
      aStatus - Associated status element.
  • Method Details

    • getNamespace

      public String getNamespace()
      Returns the RGP namespace
      Specified by:
      getNamespace in interface EPPCodecComponent
      Returns:
      the RGP namespace
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Append all data from this RGP inf data to the given DOM Document
      Specified by:
      encode in interface EPPCodecComponent
      Parameters:
      aDocument - The DOM Document to append data to
      Returns:
      Encoded DOM Element
      Throws:
      EPPEncodeException - Thrown when errors occur during the encode attempt or if the instance is invalid.
    • decode

      public void decode(Element aElement) throws EPPDecodeException
      Populate the data of this instance with the data stored in the given Element of the DOM tree
      Specified by:
      decode in interface EPPCodecComponent
      Parameters:
      aElement - The root element of the report fragment of XML
      Throws:
      EPPDecodeException - Thrown if any errors occur during decoding.
    • equals

      public boolean equals(Object aObject)
      implements a deep EPPRgpExtStatus compare.
      Overrides:
      equals in class Object
      Parameters:
      aObject - EPPRgpExtUpData instance to compare with
      Returns:
      true if equal false otherwise
    • clone

      public Object clone() throws CloneNotSupportedException
      Clone EPPRgpExtUpData.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class Object
      Returns:
      clone of EPPRgpExtUpData
      Throws:
      CloneNotSupportedException - standard Object.clone exception
    • getStatus

      public EPPRgpExtStatus getStatus()
      returns the EPPRgpExtStatus instance contained in this EPPRgpExtUpData instance
      Returns:
      the EPPRgpExtStatus instance contained in this EPPRgpExtUpData instance
    • setStatus

      public void setStatus(EPPRgpExtStatus status)
      Sets the EPPRgpExtStatus instance contained in this EPPRgpExtUpData istance
      Parameters:
      status - the new EPPRgpExtStatus instance contained in this EPPRgpExtUpData