Package com.verisign.epp.codec.emailFwd
Class EPPEmailFwdMapFactory
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPMapFactory
-
- com.verisign.epp.codec.emailFwd.EPPEmailFwdMapFactory
-
public class EPPEmailFwdMapFactory extends EPPMapFactory
EPPEmailFwdMapFactory
represents theEPPCommand
andEPPResponseMap
factory for the EPP EmailFwd Mapping with the XML Namespace URI "http://www.nic.name/epp/emailFwd-1.0". The fully qualified class name forEPPEmailFwdMapFactory
is included in a call toEPPFactory.init
orEPPCodec.init
.- See Also:
EPPCodec
,EPPFactory
,EPPCommand
,EPPResponse
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELM_EMAILFWD_AUTHINFO
XML tag name associated with emailFwd authorization information.static java.lang.String
NS
Namespace URI associated with EPPEmailFwdMapFactory.static java.lang.String
NS_CONTACT
Namesapce URI associated with the Contact Command Mapping.static java.lang.String
NS_PREFIX
Namespace prefix associated with EPPEmailFwdMapFactory.-
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 EPPEmailFwdMapFactory()
Allocates a newEPPEmailFwdMapFactory
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPPCommand
createCommand(org.w3c.dom.Element aMapElement)
creates a concreteEPPCommand
from the passed in XML Element tree.EPPResponse
createResponse(org.w3c.dom.Element aMapElement)
creates a concreteEPPResponse
from the passed in XML Element tree.EPPService
getService()
Gets theEPPService
associated withEPPEmailFwdMapFactory
.java.util.Set
getXmlSchemas()
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 EPPEmailFwdMapFactory.- See Also:
- Constant Field Values
-
NS_PREFIX
public static final java.lang.String NS_PREFIX
Namespace prefix associated with EPPEmailFwdMapFactory.- 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_EMAILFWD_AUTHINFO
public static final java.lang.String ELM_EMAILFWD_AUTHINFO
XML tag name associated with emailFwd authorization information. This value will be passed to the authInfo object when it is initialized in emailFwd command mappings.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPEmailFwdMapFactory
public EPPEmailFwdMapFactory()
Allocates a newEPPEmailFwdMapFactory
. The service attribute will be initialized with the XML namespace information defined by theEPPEmailFwdMapFactory
constants:
-
NS_PREFIX Namespace prefix of
EPPEmailFwdMapFactory
-
NS Namespace URI of
EPPEmailFwdMapFactory
-
NS_SCHEMA Namespace schema reference of
EPPEmailFwdMapFactory
-
NS_PREFIX Namespace prefix of
-
-
Method Detail
-
createCommand
public EPPCommand createCommand(org.w3c.dom.Element aMapElement) throws EPPCodecException
creates a concreteEPPCommand
from the passed in XML Element tree.aMapElement
must be the root node for the command extension. For example, <emailFwd:create> must be the element passed for a EmailFwd Create Command.- Specified by:
createCommand
in classEPPMapFactory
- Parameters:
aMapElement
- Mapping Extension EPP XML Element.- Returns:
- Concrete
EPPCommand
instance associated withaMapElement
. - Throws:
EPPCodecException
- Error creating concreteEPPCommand
-
createResponse
public EPPResponse createResponse(org.w3c.dom.Element aMapElement) throws EPPCodecException
creates a concreteEPPResponse
from the passed in XML Element tree.aMapElement
must be the root node for the command extension. For example, <emailFwd:info-data> must be the element passed for a EmailFwd Info Response.- Specified by:
createResponse
in classEPPMapFactory
- Parameters:
aMapElement
- Mapping Extension EPP XML Element.- Returns:
- Concrete
EPPResponse
instance associated withaMapElement
. - Throws:
EPPCodecException
- Error creating concreteEPPResponse
-
getService
public EPPService getService()
Gets theEPPService
associated withEPPEmailFwdMapFactory
. TheEPPService
is used byEPPFactory
for distributing the responsibility of creating concreteEPPCommand
andEPPResponse
objects by XML namespace. The XML namespace is defined in the returnedEPPService
.- Specified by:
getService
in classEPPMapFactory
- Returns:
- service description for the EmailFwd 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:
getXmlSchemas
in classEPPMapFactory
- Returns:
Set
ofString
XML Schema names that should be pre-loaded in the XML Parser.- See Also:
EPPMapFactory.getXmlSchemas()
-
-