Package com.verisign.epp.codec.defReg
Class EPPDefRegMapFactory
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPMapFactory
-
- com.verisign.epp.codec.defReg.EPPDefRegMapFactory
-
public class EPPDefRegMapFactory extends EPPMapFactory
EPPDefRegMapFactoryrepresents theEPPCommandandEPPResponseMapfactory for the EPP DefReg Mapping with the XML Namespace URI "urn:ietf:params:xmlns:domain". The fully qualified class name forEPPDefRegMapFactoryis included in a call toEPPFactory.initorEPPCodec.init.- See Also:
EPPCodec,EPPFactory,EPPCommand,EPPResponse
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_DEFREG_AUTHINFOXML tag name associated with defReg authorization information.static java.lang.StringNSNamespace URI associated with EPPDefRegMapFactory.static java.lang.StringNS_CONTACTNamesapce URI associated with the Contact Command Mapping.static java.lang.StringNS_PREFIXNamespace prefix associated with EPPDefRegMapFactory.-
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 Constructor Description EPPDefRegMapFactory()Allocates a newEPPDefRegMapFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPPCommandcreateCommand(org.w3c.dom.Element aMapElement)creates a concreteEPPCommandfrom the passed in XML Element tree.EPPResponsecreateResponse(org.w3c.dom.Element aMapElement)creates a concreteEPPResponsefrom the passed in XML Element tree.EPPServicegetService()Gets theEPPServiceassociated withEPPDefRegMapFactory.java.util.SetgetXmlSchemas()Gets the list of XML schemas that need to be pre-loaded into the XML Parser.
-
-
-
Field Detail
-
NS
public static final java.lang.String NS
Namespace URI associated with EPPDefRegMapFactory.- See Also:
- Constant Field Values
-
NS_PREFIX
public static final java.lang.String NS_PREFIX
Namespace prefix associated with EPPDefRegMapFactory.- See Also:
- Constant Field Values
-
NS_CONTACT
public static final java.lang.String NS_CONTACT
Namesapce URI associated with the Contact Command Mapping.- See Also:
- Constant Field Values
-
ELM_DEFREG_AUTHINFO
public static final java.lang.String ELM_DEFREG_AUTHINFO
XML tag name associated with defReg authorization information. This value will be passed to the authInfo object when it is initialized in defReg command mappings.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPDefRegMapFactory
public EPPDefRegMapFactory()
Allocates a newEPPDefRegMapFactory. The service attribute will be initialized with the XML namespace information defined by theEPPDefRegMapFactoryconstants:
-
NS_PREFIX Namespace prefix of
EPPDefRegMapFactory -
NS Namespace URI of
EPPDefRegMapFactory -
NS_SCHEMA Namespace schema reference of
EPPDefRegMapFactory
-
NS_PREFIX Namespace prefix of
-
-
Method Detail
-
createCommand
public EPPCommand createCommand(org.w3c.dom.Element aMapElement) throws EPPCodecException
creates a concreteEPPCommandfrom the passed in XML Element tree.aMapElementmust be the root node for the command extension. For example, <defReg:create> must be the element passed for a DefReg Create Command.- Specified by:
createCommandin classEPPMapFactory- Parameters:
aMapElement- Mapping Extension EPP XML Element.- Returns:
- Concrete
EPPCommandinstance associated withaMapElement. - Throws:
EPPCodecException- Error creating concreteEPPCommand
-
createResponse
public EPPResponse createResponse(org.w3c.dom.Element aMapElement) throws EPPCodecException
creates a concreteEPPResponsefrom the passed in XML Element tree.aMapElementmust be the root node for the command extension. For example, <defReg:info-data> must be the element passed for a DefReg Info Response.- Specified by:
createResponsein classEPPMapFactory- Parameters:
aMapElement- Mapping Extension EPP XML Element.- Returns:
- Concrete
EPPResponseinstance associated withaMapElement. - Throws:
EPPCodecException- Error creating concreteEPPResponse
-
getService
public EPPService getService()
Gets theEPPServiceassociated withEPPDefRegMapFactory. 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 DefReg Command Mapping.
-
getXmlSchemas
public java.util.Set 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:
EPPMapFactory.getXmlSchemas()
-
-