Class EPPCoaExtInfData

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

public class EPPCoaExtInfData extends Object implements EPPCodecComponent
EPPCodecComponent that encodes and decodes a COA InfData Tag.

Title: EPP 1.0 Client Object Attribute - InfData

Description: The InfData tag is used in Info Responses to represent the Client Object Attributes associated with the object being queried. It is composed of a collection of EPPCoaExtAttr objects, each describing a single COA.
As XML, it is represented by a <coa:infData> element containing a number of <coa:attr> elements.

Copyright: Copyright (c) 2011

Company: VeriSign

See Also:
  • Field Details

  • Constructor Details

    • EPPCoaExtInfData

      public EPPCoaExtInfData()
  • Method Details

    • 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.
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Append all data from this COA InfData 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.
    • clone

      public Object clone() throws CloneNotSupportedException
      A deep clone of the EPPCoaInfData.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class Object
      Returns:
      clone of concrete EPPCodecComponent
      Throws:
      CloneNotSupportedException - standard Object.clone exception
      See Also:
    • equals

      public boolean equals(Object aObj)
      A deep comparison of this with another EPPCoaExtInfData.
      Overrides:
      equals in class Object
      See Also:
    • appendAttr

      public void appendAttr(EPPCoaExtAttr aAttr)
      Appends to the List of attributes EPPCoaExtAttr instances to add.
      Parameters:
      aAttr - EPPCoaExtAttr instance
    • getAttrs

      public List getAttrs()
      Gets the attr list.
      Returns:
      List of attribute EPPCoaExtAttr instances if defined; null otherwise.
    • setAttrs

      public void setAttrs(List aAttrs)
      Sets the List of attributes EPPCoaExtAttr instances.
      Parameters:
      aAttrs - List of EPPCoaExtAttr instances
    • getNamespace

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