Class EPPRgpPollResponse

java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.rgppoll.EPPRgpPollResponse
All Implemented Interfaces:
EPPCodecComponent, EPPMessage, Serializable, Cloneable

public class EPPRgpPollResponse extends EPPResponse
A concrete EPPResponse that knows how to encode/decode RGP Poll responses from/to XML and object instance.
See Also:
  • Field Details

  • Constructor Details

    • EPPRgpPollResponse

      public EPPRgpPollResponse()
      Create a new instance of EPPRgpPollResponse
  • Method Details

    • getNamespace

      public String getNamespace()
      Returns the XML namespace associated with the EPPResponse.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Specified by:
      getNamespace in interface EPPMessage
      Overrides:
      getNamespace in class EPPResponse
      Returns:
      XML namespace for the EPPResponse.
    • doEncode

      public Element doEncode(Document aDocument) throws EPPEncodeException
      Put all data contained in this poll resonse into the given XML document
      Overrides:
      doEncode in class EPPResponse
      Parameters:
      aDocument - the DOM Document to attach data to.
      Returns:
      the element that is a parent of the poll data
      Throws:
      EPPEncodeException - Thrown if any errors occur during the encode process
    • doDecode

      public void doDecode(Element aElement) throws EPPDecodeException
      Populates the data of this instance from the given XML Element which is part of a DOM Document
      Overrides:
      doDecode in class EPPResponse
      Parameters:
      aElement - the element that is a parent of the poll data
      Throws:
      EPPDecodeException - thrown if any errors occur during the decode operation
    • equals

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

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

      public EPPRgpPollStatus getStatus()
    • setStatus

      public void setStatus(EPPRgpPollStatus aStatus)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getReqDate

      public Date getReqDate()
    • setReqDate

      public void setReqDate(Date reqDate)
    • getReportDueDate

      public Date getReportDueDate()
    • setReportDueDate

      public void setReportDueDate(Date reportDueDate)