Class EPPRegistryMapFactory
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPMapFactory
-
- com.verisign.epp.codec.registry.v02.EPPRegistryMapFactory
-
public class EPPRegistryMapFactory extends EPPMapFactory
ConcreteEPPMapFactory
used to createEPPCommand
andEPPResponse
objects from DOM elements for theNS
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NS
Namespace URI associated withEPPRegistryMapFactory
.static java.lang.String
NS_PREFIX
Namespace 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 forEPPRegistryMapFactory
that initializes the service attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPPCommand
createCommand(org.w3c.dom.Element aMapElement)
Creates a concreteEPPCommand
for the DOMElement
.EPPResponse
createResponse(org.w3c.dom.Element aMapElement)
Creates a concreteEPPResponse
for the DOMElement
.EPPService
getService()
Gets theEPPService
associated withEPPRegistryMapFactory
.java.util.Set
getXmlSchemas()
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 concreteEPPCommand
for the DOMElement
.- Specified by:
createCommand
in classEPPMapFactory
- Parameters:
aMapElement
- DOMElement
used to identify the concreteEPPCommand
associated with theEPPRegistryMapFactory
.- Returns:
- Concrete
EPPCommand
associated with command extension XML element. For example,EPPDomainCreateCmd
. - Throws:
EPPCodecException
- Error creating concreteEPPCommand
for the DOMElement
.
-
createResponse
public EPPResponse createResponse(org.w3c.dom.Element aMapElement) throws EPPCodecException
Creates a concreteEPPResponse
for the DOMElement
.- Specified by:
createResponse
in classEPPMapFactory
- Parameters:
aMapElement
- DOMElement
used to identify the concreteEPPResponse
associated with theEPPRegistryMapFactory
.- Returns:
- Concrete
EPPResponse
associated with command extension XML element. For example,EPPDomainInfoResp
. - Throws:
EPPCodecException
- Error creating concreteEPPResponse
for the DOMElement
.
-
getService
public EPPService getService()
Gets theEPPService
associated withEPPRegistryMapFactory
. TheEPPService
is used byEPPFactory
for distributing the responsibility of creating concreteEPPCommand
andEPPResponse
objects by XML namespace. The XML namespace is defined in the returnedEPPService
.- Specified by:
getService
in 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:
getXmlSchemas
in classEPPMapFactory
- Returns:
Set
ofString
XML Schema names that should be pre-loaded in the XML Parser.- See Also:
EPPMapFactory.getXmlSchemas()
-
-