Class EPPChangeUpdateAttributes

java.lang.Object
com.verisign.epp.codec.change.type.EPPChangeUpdateAttributes
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPChangeUpdateAttributes extends Object implements EPPCodecComponent
Encapsulates an Change:Action attached to a Change:Request.
See Also:
  • Field Details

  • Constructor Details

    • EPPChangeUpdateAttributes

      public EPPChangeUpdateAttributes()
    • EPPChangeUpdateAttributes

      public EPPChangeUpdateAttributes(Element element) throws EPPDecodeException
      Throws:
      EPPDecodeException
    • EPPChangeUpdateAttributes

      public EPPChangeUpdateAttributes(String priority, List categories, String description)
    • EPPChangeUpdateAttributes

      public EPPChangeUpdateAttributes(String priority, String category, String description)
  • Method Details

    • addCategory

      public void addCategory(String category)
    • clearCategories

      public void clearCategories()
    • clone

      public Object clone() throws CloneNotSupportedException
      Description copied from interface: EPPCodecComponent
      clone an EPPCodecComponent.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class Object
      Returns:
      clone of concrete EPPCodecComponent
      Throws:
      CloneNotSupportedException - standard Object.clone exception
    • decode

      public void decode(Element aElement) throws EPPDecodeException
      Decode the EPPChangeAction attributes from the DOM Element tree.
      Specified by:
      decode in interface EPPCodecComponent
      Parameters:
      aElement - - Root DOM Element to decode
      Throws:
      EPPDecodeException - Unable to decode aElement
      EPPDecodeException - On decoding error
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Encode a DOM Element tree from the attributes of the EPPChangeTld instance.
      Specified by:
      encode in interface EPPCodecComponent
      Parameters:
      aDocument - - DOM Document that is being built. Used as an Element factory.
      Returns:
      Element - Root DOM Element representing the EPPChangeTld instance.
      Throws:
      EPPEncodeException - - Unable to encode EPPChangeTld instance.
    • equals

      public boolean equals(Object o)
      Compare an instance of EPPChangeUpdateAttributes with this instance
      Overrides:
      equals in class Object
    • getCategories

      public List getCategories()
    • getDescription

      public String getDescription()
    • getPriority

      public String getPriority()
    • setCategories

      public void setCategories(List categories)
    • setDescription

      public void setDescription(String description)
    • setPriority

      public void setPriority(String priority)
    • 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 Object
      Returns:
      Indented XML String if successful; ERROR otherwise.
    • getNamespace

      public String getNamespace()
      Returns the XML namespace associated with the EPPCodecComponent.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Returns:
      XML namespace for the EPPCodecComponent.