Package com.verisign.epp.codec.gen
Class EPPMapFactory
java.lang.Object
com.verisign.epp.codec.gen.EPPMapFactory
- Direct Known Subclasses:
EPPBalanceMapFactory,EPPBalanceMapFactory,EPPChangeMapFactory,EPPContactMapFactory,EPPDefRegMapFactory,EPPDomainMapFactory,EPPEmailFwdMapFactory,EPPHostMapFactory,EPPIdnTableMapFactory,EPPLowBalancePollMapFactory,EPPMaintenanceMapFactory,EPPNameVerificationMapFactory,EPPNameWatchMapFactory,EPPOrgMapFactory,EPPRegistryMapFactory,EPPRegistryMapFactory,EPPRgpPollMapFactory,EPPTestGenMapFactory,EPPValidateMapFactory
Represents an abstract class, used by
For example, the Domain Command Mapping has an XML namespace of "urn:iana:xmlns:domain" and has a concrete
EPPFactory, and extended
by concrete EPP Command Mappings for the creation of concrete
EPPCommand and EPPResponse instances from a
command extension XML element. Each EPPMapFactory is
associated with an XML namespace, and is delegated the responsibility by
EPPFactory of creating concrete EPPCommand
and EPPResponse objects.For example, the Domain Command Mapping has an XML namespace of "urn:iana:xmlns:domain" and has a concrete
EPPMapFactory
named EPPDomainMapFactory that will create all of the
domain package objects.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringCommand type constant associated with the <ping> command.static final StringCommand type constant associated with the <create> command.static final StringCommand type constant associated with the <delete> command.static final StringCommand type constant associated with the <info> command.static final StringCommand type constant associated with the <login> command.static final StringCommand type constant associated with the <logout> command.static final StringCommand type constant associated with the <renew> command.static final StringCommand type constant associated with the <transfer> command.static final StringCommand type constant associated with the <update> command. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract EPPCommandcreateCommand(Element aMapElement) Abstract method that creates a concreteEPPCommandfrom an XML element.abstract EPPResponsecreateResponse(Element aMapElement) Abstract method that creates a concreteEPPResponsefrom an XML element.abstract EPPServiceAbstract method that gets the service information associated with the concreteEPPMapFactory.Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
-
Field Details
-
EPP_CREATE
Command type constant associated with the <create> command.- See Also:
-
EPP_DELETE
Command type constant associated with the <delete> command.- See Also:
-
EPP_INFO
Command type constant associated with the <info> command.- See Also:
-
EPP_LOGIN
Command type constant associated with the <login> command.- See Also:
-
EPP_LOGOUT
Command type constant associated with the <logout> command.- See Also:
-
EPP_CHECK
Command type constant associated with the <ping> command.- See Also:
-
EPP_RENEW
Command type constant associated with the <renew> command.- See Also:
-
EPP_TRANSFER
Command type constant associated with the <transfer> command.- See Also:
-
EPP_UPDATE
Command type constant associated with the <update> command.- See Also:
-
-
Constructor Details
-
EPPMapFactory
public EPPMapFactory()
-
-
Method Details
-
createCommand
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
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
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
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.
-