Class EPPChangeDeleteCmd

All Implemented Interfaces:
EPPCodecComponent, EPPMessage, Serializable, Cloneable

public class EPPChangeDeleteCmd extends EPPDeleteCmd
Represents an EPP <change:delete> command that is used to remove an EPP Change Request object. The <change:delete> element MUST contain the following child elements:

  • A <change:requestID> element that contains the Request Id. Use getRequestId and setRequestId to get and set the element.

See Also:
  • Constructor Details

    • EPPChangeDeleteCmd

      public EPPChangeDeleteCmd()
    • EPPChangeDeleteCmd

      public EPPChangeDeleteCmd(String aTransId)
    • EPPChangeDeleteCmd

      public EPPChangeDeleteCmd(String aTransId, String requestId)
  • Method Details

    • clone

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

      public boolean equals(Object o)
      Compare an instance of EPPChangeDeleteCmd with this instance
      Overrides:
      equals in class EPPDeleteCmd
      Parameters:
      o - Object to compare with.
      Returns:
      DOCUMENT ME!
    • getNamespace

      public String getNamespace()
      Gets the EPP command Namespace associated with EPPChangeDeleteCmd.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Specified by:
      getNamespace in interface EPPMessage
      Specified by:
      getNamespace in class EPPCommand
      Returns:
      EPPChangeMapFactory.NS
    • getRequestId

      public String getRequestId()
    • setRequestId

      public void setRequestId(String requestId)
    • toString

      public String toString()
      Implementation of Object.toString, which will result in an indented XML String representation of the concrete EPPCodecComponent.
      Overrides:
      toString in class EPPCommand
      Returns:
      Indented XML String if successful; ERROR otherwise.
    • doDecode

      protected void doDecode(Element aElement) throws EPPDecodeException
      Decode the EPPChangeDeleteCmd attributes from the aElement DOM Element tree.
      Specified by:
      doDecode in class EPPDeleteCmd
      Parameters:
      aElement - Root DOM Element to decode EPPChangeDeleteCmd from.
      Throws:
      EPPDecodeException - Unable to decode aElement
    • doEncode

      protected Element doEncode(Document aDocument) throws EPPEncodeException
      Encode a DOM Element tree from the attributes of the EPPChangeDeleteCmd instance.
      Specified by:
      doEncode in class EPPDeleteCmd
      Parameters:
      aDocument - DOM Document that is being built. Used as an Element factory.
      Returns:
      Root DOM Element representing the EPPChangeDeleteCmd instance.
      Throws:
      EPPEncodeException - Unable to encode EPPChangeDeleteCmd instance.