Package com.verisign.epp.codec.registry
Class EPPRegistryMapFactory
java.lang.Object
com.verisign.epp.codec.gen.EPPMapFactory
com.verisign.epp.codec.registry.EPPRegistryMapFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML tag name associated with registry authorization information.static final StringNamespace URI associated with EPPRegistryMapFactory.static final StringNamespace prefix associated with EPPRegistryMapFactory.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 -
Method Summary
Modifier and TypeMethodDescriptioncreateCommand(Element aMapElement) Abstract method that creates a concreteEPPCommandfrom an XML element.createResponse(Element aMapElement) creates a concreteEPPResponsefrom the passed in XML Element tree.Gets theEPPServiceassociated withEPPRegistryMapFactory.Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
-
Field Details
-
NS
Namespace URI associated with EPPRegistryMapFactory.- See Also:
-
NS_PREFIX
Namespace prefix associated with EPPRegistryMapFactory.- See Also:
-
ELM_REGISTRY_AUTHINFO
XML tag name associated with registry authorization information. This value will be passed to the authInfo object when it is initialized in registry command mappings.- See Also:
-
-
Constructor Details
-
EPPRegistryMapFactory
public EPPRegistryMapFactory()
-
-
Method Details
-
createCommand
Description copied from class:EPPMapFactoryAbstract method that creates a concreteEPPCommandfrom an XML element. For example, aEPPDomainCreateCmdwill be created byEPPDomainMapFactorygiven the <domain:create> XML element.- Specified by:
createCommandin classEPPMapFactory- 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
creates a concreteEPPResponsefrom the passed in XML Element tree.aMapElementmust be the root node for the command extension. For example, <contact:info-data> must be the element passed for a Contact Info Response.- Specified by:
createResponsein classEPPMapFactory- Parameters:
aMapElement- Mapping Extension EPP XML Element.- Returns:
- Concrete
EPPResponseinstance associated withaMapElement. - Throws:
EPPCodecException- Error creating concreteEPPResponse
-
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
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:
-