Class EPPAuthTokenMapFactory
java.lang.Object
com.verisign.epp.codec.gen.EPPMapFactory
com.verisign.epp.codec.authtoken.v01.EPPAuthTokenMapFactory
EPPAuthTokenMapFactory represents the EPPCommand and
EPPResponseMap factory for the EPP Authentication Token Mapping with the XML
Namespace URI "urn:ietf:params:xml:ns:epp:authToken-0.1". The fully qualified class
name for EPPAuthTokenMapFactory is included in a call to
EPPFactory.init or EPPCodec.init.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringNamespace URI associated with EPPAuthTokenMapFactory.static final StringNamespace prefix associated with EPPAuthTokenMapFactory.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 withEPPAuthTokenMapFactory.Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
-
Field Details
-
NS
Namespace URI associated with EPPAuthTokenMapFactory.- See Also:
-
NS_PREFIX
Namespace prefix associated with EPPAuthTokenMapFactory.- See Also:
-
-
Constructor Details
-
EPPAuthTokenMapFactory
public EPPAuthTokenMapFactory()Allocates a newEPPAuthTokenMapFactory. The service attribute will be initialized with the XML namespace information defined by theEPPAuthTokenMapFactoryconstants:
- NS_PREFIX Namespace prefix of
EPPAuthTokenMapFactory - NS Namespace URI of
EPPAuthTokenMapFactory - NS_SCHEMA Namespace schema reference of
EPPAuthTokenMapFactory
- 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, <authToken:create> must be the element passed for an Authentication Token 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, <authToken:infData> must be the element passed for an Authentication Token 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 withEPPAuthTokenMapFactory. 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 Auth Token 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:
-