Package com.verisign.epp.codec.gen
Class EPPTestGenMapFactory
java.lang.Object
com.verisign.epp.codec.gen.EPPMapFactory
com.verisign.epp.codec.gen.EPPTestGenMapFactory
EPPTestGenMapFactory is a test map factory used to test the
general (gen) EPP package. The fully qualified class name for
EPPTestGenMapFactory is included in a call to
EPPFactory.init or EPPCodec.init. - See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringNamespace URI associated with EPPTestGenMapFactory.static final StringNamespace prefix associated with EPPTestGenMapFactory.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 withEPPTestGenMapFactory.Methods inherited from class com.verisign.epp.codec.gen.EPPMapFactory
getXmlSchemas
-
Field Details
-
NS
Namespace URI associated with EPPTestGenMapFactory.- See Also:
-
NS_PREFIX
Namespace prefix associated with EPPTestGenMapFactory.- See Also:
-
-
Constructor Details
-
EPPTestGenMapFactory
public EPPTestGenMapFactory()Allocates a newEPPTestGenMapFactory. The service attribute will be initialized with the XML namespace information defined by theEPPTestGenMapFactoryconstants:
- NS_PREFIX Namespace prefix of
EPPTestGenMapFactory - NS Namespace URI of
EPPTestGenMapFactory - NS_SCHEMA Namespace schema reference of
EPPTestGenMapFactory
- 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 withEPPTestGenMapFactory. 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.
-