Package com.verisign.epp.codec.domain
Class EPPDomainMapFactory
java.lang.Object
com.verisign.epp.codec.gen.EPPMapFactory
com.verisign.epp.codec.domain.EPPDomainMapFactory
EPPDomainMapFactory represents the EPPCommand and
EPPResponseMap factory for the EPP Domain Mapping with the XML
Namespace URI "urn:ietf:params:xmlns:domain". The fully qualified class name
for EPPDomainMapFactory is included in a call to
EPPFactory.init or EPPCodec.init.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML tag name associated with domain authorization information.static final StringNamespace URI associated with EPPDomainMapFactory.static final StringNamesapce URI associated with the Contact Command Mapping.static final StringNamespace prefix associated with EPPDomainMapFactory.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) creates a concreteEPPCommandfrom the passed in XML Element tree.createResponse(Element aMapElement) creates a concreteEPPResponsefrom the passed in XML Element tree.Gets theEPPServiceassociated withEPPDomainMapFactory.Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
-
Field Details
-
NS
Namespace URI associated with EPPDomainMapFactory.- See Also:
-
NS_PREFIX
Namespace prefix associated with EPPDomainMapFactory.- See Also:
-
NS_CONTACT
Namesapce URI associated with the Contact Command Mapping.- See Also:
-
ELM_DOMAIN_AUTHINFO
XML tag name associated with domain authorization information. This value will be passed to the authInfo object when it is initialized in domain command mappings.- See Also:
-
-
Constructor Details
-
EPPDomainMapFactory
public EPPDomainMapFactory()Allocates a newEPPDomainMapFactory. The service attribute will be initialized with the XML namespace information defined by theEPPDomainMapFactoryconstants:
- NS_PREFIX Namespace prefix of
EPPDomainMapFactory - NS Namespace URI of
EPPDomainMapFactory - NS_SCHEMA Namespace schema reference of
EPPDomainMapFactory
- NS_PREFIX Namespace prefix of
-
-
Method Details
-
createCommand
creates a concreteEPPCommandfrom the passed in XML Element tree.aMapElementmust be the root node for the command extension. For example, <domain:create> must be the element passed for a Domain Create Command.- Specified by:
createCommandin classEPPMapFactory- Parameters:
aMapElement- Mapping Extension EPP XML Element.- Returns:
- Concrete
EPPCommandinstance associated withaMapElement. - Throws:
EPPCodecException- Error creating concreteEPPCommand
-
createResponse
creates a concreteEPPResponsefrom the passed in XML Element tree.aMapElementmust be the root node for the command extension. For example, <domain:info-data> must be the element passed for a Domain 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 withEPPDomainMapFactory. 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 Domain 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:
-