Class EPPRelatedDomainExtFactory

java.lang.Object
com.verisign.epp.codec.gen.EPPExtFactory
com.verisign.epp.codec.relateddomainext.EPPRelatedDomainExtFactory

public class EPPRelatedDomainExtFactory extends EPPExtFactory
The EPPCodec Extension Factory that needs to be configured to encode/decode Related Domain extensions. The RelatedDomain URI is: http://www.verisign.com/epp/relatedDomain-1.0

Title: EPP 1.0 RelatedDomain

Description: RelatedDomain Extension to the EPP SDK

Copyright: Copyright (c) 2013

Company: VeriSign

  • Field Details

  • Constructor Details

    • EPPRelatedDomainExtFactory

      public EPPRelatedDomainExtFactory()
      Create a new instance of EPPRelatedDomainExtFactory
  • Method Details

    • createExtension

      public EPPCodecComponent createExtension(Element aExtensionElm) throws EPPCodecException
      Creates the concrete Related Domain ext instance when decoding XML that contains a Related Domain Extension.
      Specified by:
      createExtension in class EPPExtFactory
      Parameters:
      aExtensionElm - The DOM element that is a parent to the Related Domain XML fragment
      Returns:
      A concrete EPPCodecComponet that knows how to decode itself from the rest of the DOM document.
      Throws:
      EPPCodecException - Thrown if an unrecognized related domain element is found below the passed in extension element
    • createProtocolExtension

      public EPPProtocolExtension createProtocolExtension(Element aExtensionElm) throws EPPCodecException
      Overridden but doesn't do anything in the context of Related Domain. Throws an EPPCodecException if called
      Specified by:
      createProtocolExtension in class EPPExtFactory
      Parameters:
      aExtensionElm - Element of the protocol extension
      Returns:
      nothing
      Throws:
      EPPCodecException - Throws with message "EPPRelatedDomainExtFactory.createProtocolExtension: Protocol extensions not supported"
    • getService

      public EPPService getService()
      Returns the EPPService instance associated with this ExtFactory. The EPPService instance contains the XML Namespace and XML Schema location
      Specified by:
      getService in class EPPExtFactory
      Returns:
      the EPPService instance associated with this ExtFactory
    • getXmlSchemas

      public Set getXmlSchemas()
      Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
      Overrides:
      getXmlSchemas in class EPPExtFactory
      Returns:
      Set of String XML Schema names that should be pre-loaded in the XML Parser.
      See Also: