Class EPPRegistryMapFactory

    • Field Detail

      • NS

        public static final java.lang.String NS
        Namespace URI associated with EPPRegistryMapFactory.
        See Also:
        Constant Field Values
      • NS_PREFIX

        public static final java.lang.String NS_PREFIX
        Namespace prefix associated with EPPRegistryMapFactory.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EPPRegistryMapFactory

        public EPPRegistryMapFactory()
        Default constructor for EPPRegistryMapFactory that initializes the service attribute.
    • Method Detail

      • createCommand

        public EPPCommand createCommand​(org.w3c.dom.Element aMapElement)
                                 throws EPPCodecException
        Creates a concrete EPPCommand for the DOM Element.
        Specified by:
        createCommand in class EPPMapFactory
        Parameters:
        aMapElement - DOM Element used to identify the concrete EPPCommand associated with the EPPRegistryMapFactory.
        Returns:
        Concrete EPPCommand associated with command extension XML element. For example, EPPDomainCreateCmd.
        Throws:
        EPPCodecException - Error creating concrete EPPCommand for the DOM Element.
      • createResponse

        public EPPResponse createResponse​(org.w3c.dom.Element aMapElement)
                                   throws EPPCodecException
        Creates a concrete EPPResponse for the DOM Element.
        Specified by:
        createResponse in class EPPMapFactory
        Parameters:
        aMapElement - DOM Element used to identify the concrete EPPResponse associated with the EPPRegistryMapFactory.
        Returns:
        Concrete EPPResponse associated with command extension XML element. For example, EPPDomainInfoResp.
        Throws:
        EPPCodecException - Error creating concrete EPPResponse for the DOM Element.
      • 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 java.util.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:
        EPPMapFactory.getXmlSchemas()