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.ObjectRepresents an abstract class, used byEPPFactory, and extended by concrete EPP Command Mappings for the creation of concreteEPPCommandandEPPResponseinstances from a command extension XML element. EachEPPMapFactoryis associated with an XML namespace, and is delegated the responsibility byEPPFactoryof creating concreteEPPCommandandEPPResponseobjects.
For example, the Domain Command Mapping has an XML namespace of "urn:iana:xmlns:domain" and has a concreteEPPMapFactorynamedEPPDomainMapFactorythat will create all of the domain package objects.- See Also:
EPPFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEPP_CHECKCommand type constant associated with the <ping> command.static java.lang.StringEPP_CREATECommand type constant associated with the <create> command.static java.lang.StringEPP_DELETECommand type constant associated with the <delete> command.static java.lang.StringEPP_INFOCommand type constant associated with the <info> command.static java.lang.StringEPP_LOGINCommand type constant associated with the <login> command.static java.lang.StringEPP_LOGOUTCommand type constant associated with the <logout> command.static java.lang.StringEPP_RENEWCommand type constant associated with the <renew> command.static java.lang.StringEPP_TRANSFERCommand type constant associated with the <transfer> command.static java.lang.StringEPP_UPDATECommand 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 EPPCommandcreateCommand(org.w3c.dom.Element aMapElement)Abstract method that creates a concreteEPPCommandfrom an XML element.abstract EPPResponsecreateResponse(org.w3c.dom.Element aMapElement)Abstract method that creates a concreteEPPResponsefrom an XML element.abstract EPPServicegetService()Abstract method that gets the service information associated with the concreteEPPMapFactory.java.util.Set<java.lang.String>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 concreteEPPCommandfrom an XML element. For example, aEPPDomainCreateCmdwill be created byEPPDomainMapFactorygiven the <domain:create> XML element.- Parameters:
aMapElement- command extension XML element. For example <domain:create>.- Returns:
- Concrete
EPPCommandassociated 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 concreteEPPResponsefrom an XML element. For example, aEPPDomainInfoRespwill be created byEPPDomainMapFactorygiven the <domain:info-data> XML element.- Parameters:
aMapElement- command extension XML element. For example <domain:info-data>.- Returns:
- Concrete
EPPResponseassociated 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 byEPPFactoryfor extracting the XML namespace associated with the service.- Returns:
- service description associated with the concret
EPPMapFactory.
-
getXmlSchemas
public java.util.Set<java.lang.String> getXmlSchemas()
Gets the list of XML schemas that need to be pre-loaded into the XML Parser.- Returns:
SetofStringXML Schema names that should be pre-loaded in the XML Parser. Defaults to returningnullto indicate that no XML schemas need to be loaded.
-
-