Package com.verisign.epp.codec.gen
Class EPPMapFactory
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPMapFactory
-
- Direct Known Subclasses:
EPPBalanceMapFactory
,EPPContactMapFactory
,EPPDefRegMapFactory
,EPPDomainMapFactory
,EPPEmailFwdMapFactory
,EPPHostMapFactory
,EPPIdnTableMapFactory
,EPPLowBalancePollMapFactory
,EPPMaintenanceMapFactory
,EPPNameVerificationMapFactory
,EPPNameWatchMapFactory
,EPPOrgMapFactory
,EPPRegistryMapFactory
,EPPRegistryMapFactory
,EPPRgpPollMapFactory
,EPPTestGenMapFactory
,EPPValidateMapFactory
public abstract class EPPMapFactory extends java.lang.Object
Represents an abstract class, used byEPPFactory
, and extended by concrete EPP Command Mappings for the creation of concreteEPPCommand
andEPPResponse
instances from a command extension XML element. EachEPPMapFactory
is associated with an XML namespace, and is delegated the responsibility byEPPFactory
of creating concreteEPPCommand
andEPPResponse
objects.
For example, the Domain Command Mapping has an XML namespace of "urn:iana:xmlns:domain" and has a concreteEPPMapFactory
namedEPPDomainMapFactory
that will create all of the domain package objects.- See Also:
EPPFactory
-
-
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 concreteEPPCommand
from an XML element.abstract EPPResponse
createResponse(org.w3c.dom.Element aMapElement)
Abstract method that creates a concreteEPPResponse
from an XML element.abstract EPPService
getService()
Abstract method that gets the service information associated with the concreteEPPMapFactory
.java.util.Set
getXmlSchemas()
Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
-
-
-
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
-
-
Method Detail
-
createCommand
public abstract EPPCommand createCommand(org.w3c.dom.Element aMapElement) throws EPPCodecException
Abstract method that creates a concreteEPPCommand
from an XML element. For example, aEPPDomainCreateCmd
will be created byEPPDomainMapFactory
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 concreteEPPCommand
-
createResponse
public abstract EPPResponse createResponse(org.w3c.dom.Element aMapElement) throws EPPCodecException
Abstract method that creates a concreteEPPResponse
from an XML element. For example, aEPPDomainInfoResp
will be created byEPPDomainMapFactory
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 concreteEPPResponse
-
getService
public abstract EPPService getService()
Abstract method that gets the service information associated with the concreteEPPMapFactory
. The service information is used byEPPFactory
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
ofString
XML Schema names that should be pre-loaded in the XML Parser. Defaults to returningnull
to indicate that no XML schemas need to be loaded.
-
-