Class EPPRegistryMapFactory
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPMapFactory
-
- com.verisign.epp.codec.registry.v02.EPPRegistryMapFactory
-
public class EPPRegistryMapFactory extends EPPMapFactory
ConcreteEPPMapFactoryused to createEPPCommandandEPPResponseobjects from DOM elements for theNS.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNSNamespace URI associated withEPPRegistryMapFactory.static java.lang.StringNS_PREFIXNamespace prefix associated withEPPRegistryMapFactory.-
Fields inherited from class com.verisign.epp.codec.gen.EPPMapFactory
EPP_CHECK, EPP_CREATE, EPP_DELETE, EPP_INFO, EPP_LOGIN, EPP_LOGOUT, EPP_RENEW, EPP_TRANSFER, EPP_UPDATE
-
-
Constructor Summary
Constructors Constructor Description EPPRegistryMapFactory()Default constructor forEPPRegistryMapFactorythat initializes the service attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPPCommandcreateCommand(org.w3c.dom.Element aMapElement)Creates a concreteEPPCommandfor the DOMElement.EPPResponsecreateResponse(org.w3c.dom.Element aMapElement)Creates a concreteEPPResponsefor the DOMElement.EPPServicegetService()Gets theEPPServiceassociated withEPPRegistryMapFactory.java.util.SetgetXmlSchemas()Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
-
-
-
Field Detail
-
NS
public static final java.lang.String NS
Namespace URI associated withEPPRegistryMapFactory.- See Also:
- Constant Field Values
-
NS_PREFIX
public static final java.lang.String NS_PREFIX
Namespace prefix associated withEPPRegistryMapFactory.- See Also:
- Constant Field Values
-
-
Method Detail
-
createCommand
public EPPCommand createCommand(org.w3c.dom.Element aMapElement) throws EPPCodecException
Creates a concreteEPPCommandfor the DOMElement.- Specified by:
createCommandin classEPPMapFactory- Parameters:
aMapElement- DOMElementused to identify the concreteEPPCommandassociated with theEPPRegistryMapFactory.- Returns:
- Concrete
EPPCommandassociated with command extension XML element. For example,EPPDomainCreateCmd. - Throws:
EPPCodecException- Error creating concreteEPPCommandfor the DOMElement.
-
createResponse
public EPPResponse createResponse(org.w3c.dom.Element aMapElement) throws EPPCodecException
Creates a concreteEPPResponsefor the DOMElement.- Specified by:
createResponsein classEPPMapFactory- Parameters:
aMapElement- DOMElementused to identify the concreteEPPResponseassociated with theEPPRegistryMapFactory.- Returns:
- Concrete
EPPResponseassociated with command extension XML element. For example,EPPDomainInfoResp. - Throws:
EPPCodecException- Error creating concreteEPPResponsefor the DOMElement.
-
getService
public EPPService getService()
Gets theEPPServiceassociated withEPPRegistryMapFactory. TheEPPServiceis used byEPPFactoryfor distributing the responsibility of creating concreteEPPCommandandEPPResponseobjects by XML namespace. The XML namespace is defined in the returnedEPPService.- Specified by:
getServicein classEPPMapFactory- 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:
getXmlSchemasin classEPPMapFactory- Returns:
SetofStringXML Schema names that should be pre-loaded in the XML Parser.- See Also:
EPPMapFactory.getXmlSchemas()
-
-