Class EPPAddlEmailExtFactory

java.lang.Object
com.verisign.epp.codec.gen.EPPExtFactory
com.verisign.epp.codec.addlemail.EPPAddlEmailExtFactory

public class EPPAddlEmailExtFactory extends EPPExtFactory
Factory for implementation of the Additional Email Extension. The Additional Email Extension only supports command, response extensions with createExtension, but currently does not support protocol extensions with createProtocolExtension. Calling createProtocolExtension will result in an exception.
  • Field Details

  • Constructor Details

    • EPPAddlEmailExtFactory

      public EPPAddlEmailExtFactory()
      Default constructor for EPPEAIExtFactory.
  • Method Details

    • createExtension

      public EPPCodecComponent createExtension(Element aExtensionElm) throws EPPCodecException
      Creates a concrete EPPCodecComponent from an XML element that represents an EPP extension.
      Specified by:
      createExtension in class EPPExtFactory
      Parameters:
      aExtensionElm - Extension XML element.
      Returns:
      Concrete EPPCodecComponent associated with the extension XML element.
      Throws:
      EPPCodecException - Error creating the concrete EPPCodecComponent
    • createProtocolExtension

      public EPPProtocolExtension createProtocolExtension(Element aExtensionElm) throws EPPCodecException
      Creates a concrete EPPProtocolExtension from an XML element that represents an EPP protocol extension.
      Specified by:
      createProtocolExtension in class EPPExtFactory
      Parameters:
      aExtensionElm - extension XML element.
      Returns:
      Concrete EPPProtocolExtension associated with the extension XML element.
      Throws:
      EPPCodecException - Error creating the concrete EPPProtocolExtension
    • getService

      public EPPService getService()
      Gets the service information associated with the concrete EPPExtFactory. The service information is used by EPPFactory for extracting the XML namespace associated with the extension factory.
      Specified by:
      getService in class EPPExtFactory
      Returns:
      service description associated with the concrete EPPExtFactory.
    • 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:
      Empty Set since factory is only used as a marker for the extension services.
      See Also: