Class EPPSecDNSExtCreate

java.lang.Object
com.verisign.epp.codec.secdnsext.v10.EPPSecDNSExtCreate
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPSecDNSExtCreate extends Object implements EPPCodecComponent
The EPPSecDNSExtCreate is the EPPCodecComponent that knows how to encode and decode secDNS create elements from/to XML and object instance.

Title: EPP 1.0 secDNS

Description: secDNS Extension to the EPP SDK

Copyright: Copyright (c) 2006

Company: VeriSign

See Also:
  • Field Details

  • Constructor Details

    • EPPSecDNSExtCreate

      public EPPSecDNSExtCreate()
      Instantiate a new instance of EPPSecDNSExtCreate
    • EPPSecDNSExtCreate

      public EPPSecDNSExtCreate(List dsData)
      Creates a new instance of the EPPSecDNSExtCreate with the DS DATA element.
      Parameters:
      dsData - List of DS Data EPPSecDNSExtDsData instances
  • Method Details

    • getNamespace

      public String getNamespace()
      The namespace associated with this secDNS create.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Returns:
      The namespace associated with secDNS component
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Append all data from this secDNS create 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 EPPSecDNSExtCreate compare.
      Overrides:
      equals in class Object
      Parameters:
      aObject - EPPSecDNSExtCreate instance to compare with
      Returns:
      true if equal false otherwise
    • clone

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

      public List getDsData()
      Get the dsData
      Returns:
      List of dsData EPPSecDNSExtDsData instances.
    • setDsData

      public void setDsData(List dsData)
      Set the List of DS Data EPPSecDNSExtDsData instances to create
      Parameters:
      dsData - List of EPPSecDNSExtDsData instances
    • appendDsData

      public void appendDsData(EPPSecDNSExtDsData dsData)
      Append to the List of DS Data EPPSecDNSExtDsData instances to create
      Parameters:
      dsData - EPPSecDNSExtDsData instance