Class EPPMapFactory

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EPP_CHECK
      Command type constant associated with the <ping> command.
      static java.lang.String EPP_CREATE
      Command type constant associated with the <create> command.
      static java.lang.String EPP_DELETE
      Command type constant associated with the <delete> command.
      static java.lang.String EPP_INFO
      Command type constant associated with the <info> command.
      static java.lang.String EPP_LOGIN
      Command type constant associated with the <login> command.
      static java.lang.String EPP_LOGOUT
      Command type constant associated with the <logout> command.
      static java.lang.String EPP_RENEW
      Command type constant associated with the <renew> command.
      static java.lang.String EPP_TRANSFER
      Command type constant associated with the <transfer> command.
      static java.lang.String EPP_UPDATE
      Command type constant associated with the <update> command.
    • Constructor Summary

      Constructors 
      Constructor Description
      EPPMapFactory()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract EPPCommand createCommand​(org.w3c.dom.Element aMapElement)
      Abstract method that creates a concrete EPPCommand from an XML element.
      abstract EPPResponse createResponse​(org.w3c.dom.Element aMapElement)
      Abstract method that creates a concrete EPPResponse from an XML element.
      abstract EPPService getService()
      Abstract method that gets the service information associated with the concrete EPPMapFactory.
      java.util.Set getXmlSchemas()
      Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EPP_CREATE

        public static final java.lang.String EPP_CREATE
        Command type constant associated with the <create> command.
        See Also:
        Constant Field Values
      • EPP_DELETE

        public static final java.lang.String EPP_DELETE
        Command type constant associated with the <delete> command.
        See Also:
        Constant Field Values
      • EPP_INFO

        public static final java.lang.String EPP_INFO
        Command type constant associated with the <info> command.
        See Also:
        Constant Field Values
      • EPP_LOGIN

        public static final java.lang.String EPP_LOGIN
        Command type constant associated with the <login> command.
        See Also:
        Constant Field Values
      • EPP_LOGOUT

        public static final java.lang.String EPP_LOGOUT
        Command type constant associated with the <logout> command.
        See Also:
        Constant Field Values
      • EPP_CHECK

        public static final java.lang.String EPP_CHECK
        Command type constant associated with the <ping> command.
        See Also:
        Constant Field Values
      • EPP_RENEW

        public static final java.lang.String EPP_RENEW
        Command type constant associated with the <renew> command.
        See Also:
        Constant Field Values
      • EPP_TRANSFER

        public static final java.lang.String EPP_TRANSFER
        Command type constant associated with the <transfer> command.
        See Also:
        Constant Field Values
      • EPP_UPDATE

        public static final java.lang.String EPP_UPDATE
        Command type constant associated with the <update> command.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EPPMapFactory

        public EPPMapFactory()
    • Method Detail

      • createCommand

        public abstract EPPCommand createCommand​(org.w3c.dom.Element aMapElement)
                                          throws EPPCodecException
        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.
        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 abstract EPPResponse createResponse​(org.w3c.dom.Element aMapElement)
                                            throws EPPCodecException
        Abstract method that creates a concrete EPPResponse from an XML element. For example, a EPPDomainInfoResp will be created by EPPDomainMapFactory given the <domain:info-data> XML element.
        Parameters:
        aMapElement - command extension XML element. For example <domain:info-data>.
        Returns:
        Concrete EPPResponse associated with command extension XML element. For example, EPPDomainInfoResp.
        Throws:
        EPPCodecException - Error creating the concrete EPPResponse
      • getService

        public abstract EPPService getService()
        Abstract method that gets the service information associated with the concrete EPPMapFactory. The service information is used by EPPFactory for extracting the XML namespace associated with the service.
        Returns:
        service description associated with the concret EPPMapFactory.
      • getXmlSchemas

        public java.util.Set getXmlSchemas()
        Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
        Returns:
        Set of String XML Schema names that should be pre-loaded in the XML Parser. Defaults to returning null to indicate that no XML schemas need to be loaded.