Class EPPRegistryMapFactory

java.lang.Object
com.verisign.epp.codec.gen.EPPMapFactory
com.verisign.epp.codec.registry.EPPRegistryMapFactory

public class EPPRegistryMapFactory extends EPPMapFactory
  • Field Details

    • NS

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

      public static final String NS_PREFIX
      Namespace prefix associated with EPPRegistryMapFactory.
      See Also:
    • ELM_REGISTRY_AUTHINFO

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

    • EPPRegistryMapFactory

      public EPPRegistryMapFactory()
  • Method Details

    • createCommand

      public EPPCommand createCommand(Element aMapElement) throws EPPCodecException
      Description copied from class: EPPMapFactory
      Abstract method that creates a concrete EPPCommand from an XML element. For example, a EPPDomainCreateCmd will be created by EPPDomainMapFactory given the <domain:create> XML element.
      Specified by:
      createCommand in class EPPMapFactory
      Parameters:
      aMapElement - command extension XML element. For example <domain:create>.
      Returns:
      Concrete EPPCommand associated with command extension XML element. For example, EPPDomainCreateCmd.
      Throws:
      EPPCodecException - Error creating the 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, <contact:info-data> must be the element passed for a Contact 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 EPPRegistryMapFactory. 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 Registry 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: