Class EPPTtlUpdate

java.lang.Object
com.verisign.epp.codec.ttl.v1_0.EPPTtlExtension
com.verisign.epp.codec.ttl.v1_0.EPPTtlUpdate
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPTtlUpdate extends EPPTtlExtension
TTL Create Extension that enables a client to pass the TTL values with an update command.
See Also:
  • Field Details

  • Constructor Details

    • EPPTtlUpdate

      public EPPTtlUpdate()
      Default constructor for EPPTtlUpdate.
    • EPPTtlUpdate

      public EPPTtlUpdate(EPPTtl aTtl)
      Constructor for EPPTtlUpdate that takes a single TTL.
      Parameters:
      aTtl - A single TTL value
    • EPPTtlUpdate

      public EPPTtlUpdate(List<EPPTtl> aTtls)
      Constructor for EPPTtlUpdate that a list of TTLs.
      Parameters:
      aTtls - A list of TTLs
  • Method Details

    • getLocalName

      protected String getLocalName()
      Returns the local name "update" for the update extension.
      Specified by:
      getLocalName in class EPPTtlExtension
      Returns:
      Local name "update" for the update extension.
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Encode of a EPPTtlUpdate instance that includes checks of the TTLs.
      Specified by:
      encode in interface EPPCodecComponent
      Overrides:
      encode in class EPPTtlExtension
      Parameters:
      aDocument - DOM Document, which acts is an Element factory
      Returns:
      Element Root element associated with the object
      Throws:
      EPPEncodeException - Error encoding EPPTtlExtension
    • getNamespace

      public String getNamespace()
      Returns the XML namespace associated with the EPPCodecComponent.
      Returns:
      XML namespace for the EPPCodecComponent.