Class EPPEmailFwdMapFactory

java.lang.Object
com.verisign.epp.codec.gen.EPPMapFactory
com.verisign.epp.codec.emailFwd.EPPEmailFwdMapFactory

public class EPPEmailFwdMapFactory extends EPPMapFactory
EPPEmailFwdMapFactory represents the EPPCommand and EPPResponseMap factory for the EPP EmailFwd Mapping with the XML Namespace URI "http://www.nic.name/epp/emailFwd-1.0". The fully qualified class name for EPPEmailFwdMapFactory is included in a call to EPPFactory.init or EPPCodec.init.
See Also:
  • Field Details

    • NS

      public static final String NS
      Namespace URI associated with EPPEmailFwdMapFactory.
      See Also:
    • NS_PREFIX

      public static final String NS_PREFIX
      Namespace prefix associated with EPPEmailFwdMapFactory.
      See Also:
    • NS_CONTACT

      public static final String NS_CONTACT
      Namesapce URI associated with the Contact Command Mapping.
      See Also:
    • ELM_EMAILFWD_AUTHINFO

      public static final String ELM_EMAILFWD_AUTHINFO
      XML tag name associated with emailFwd authorization information. This value will be passed to the authInfo object when it is initialized in emailFwd command mappings.
      See Also:
  • Constructor Details

    • EPPEmailFwdMapFactory

      public EPPEmailFwdMapFactory()
      Allocates a new EPPEmailFwdMapFactory. The service attribute will be initialized with the XML namespace information defined by the EPPEmailFwdMapFactory constants:
      • NS_PREFIX Namespace prefix of EPPEmailFwdMapFactory
      • NS Namespace URI of EPPEmailFwdMapFactory
      • NS_SCHEMA Namespace schema reference of EPPEmailFwdMapFactory
  • Method Details

    • createCommand

      public EPPCommand createCommand(Element aMapElement) throws EPPCodecException
      creates a concrete EPPCommand from the passed in XML Element tree. aMapElement must be the root node for the command extension. For example, <emailFwd:create> must be the element passed for a EmailFwd Create Command.
      Specified by:
      createCommand in class EPPMapFactory
      Parameters:
      aMapElement - Mapping Extension EPP XML Element.
      Returns:
      Concrete EPPCommand instance associated with aMapElement.
      Throws:
      EPPCodecException - Error creating concrete EPPCommand
    • createResponse

      public EPPResponse createResponse(Element aMapElement) throws EPPCodecException
      creates a concrete EPPResponse from the passed in XML Element tree. aMapElement must be the root node for the command extension. For example, <emailFwd:info-data> must be the element passed for a EmailFwd Info Response.
      Specified by:
      createResponse in class EPPMapFactory
      Parameters:
      aMapElement - Mapping Extension EPP XML Element.
      Returns:
      Concrete EPPResponse instance associated with aMapElement.
      Throws:
      EPPCodecException - Error creating concrete EPPResponse
    • getService

      public EPPService getService()
      Gets the EPPService associated with EPPEmailFwdMapFactory. The EPPService is used by EPPFactory for distributing the responsibility of creating concrete EPPCommand and EPPResponse objects by XML namespace. The XML namespace is defined in the returned EPPService.
      Specified by:
      getService in class EPPMapFactory
      Returns:
      service description for the EmailFwd Command Mapping.
    • getXmlSchemas

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