public class EPPEmailFwdMapFactory extends EPPMapFactory
EPPEmailFwdMapFactory
represents the EPPCommand
and EPPResponseMap
factory for the EPP EmailFwd Mapping
with the XML Namespace URI "http://www.nic.name/epp/emailFwd-1.0". The
fully qualified class name for EPPEmailFwdMapFactory
is
included in a call to EPPFactory.init
or
EPPCodec.init
.EPPCodec
,
EPPFactory
,
EPPCommand
,
EPPResponse
Modifier and Type | Field and 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.
|
EPP_CHECK, EPP_CREATE, EPP_DELETE, EPP_INFO, EPP_LOGIN, EPP_LOGOUT, EPP_RENEW, EPP_TRANSFER, EPP_UPDATE
Constructor and Description |
---|
EPPEmailFwdMapFactory()
Allocates a new
EPPEmailFwdMapFactory . |
Modifier and Type | Method and Description |
---|---|
EPPCommand |
createCommand(org.w3c.dom.Element aMapElement)
creates a concrete
EPPCommand from the passed in XML
Element tree. |
EPPResponse |
createResponse(org.w3c.dom.Element aMapElement)
creates a concrete
EPPResponse from the passed in XML
Element tree. |
EPPService |
getService()
Gets the
EPPService associated with
EPPEmailFwdMapFactory . |
java.util.Set |
getXmlSchemas()
Gets the list of XML schemas that need to be pre-loaded into the
XML Parser.
|
public static final java.lang.String NS
public static final java.lang.String NS_PREFIX
public static final java.lang.String NS_CONTACT
public static final java.lang.String ELM_EMAILFWD_AUTHINFO
public EPPEmailFwdMapFactory()
EPPEmailFwdMapFactory
. The service
attribute will be initialized with the XML namespace information
defined by the EPPEmailFwdMapFactory
constants:EPPEmailFwdMapFactory
EPPEmailFwdMapFactory
EPPEmailFwdMapFactory
public EPPCommand createCommand(org.w3c.dom.Element aMapElement) throws EPPCodecException
EPPCommand
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.createCommand
in class EPPMapFactory
aMapElement
- Mapping Extension EPP XML Element.EPPCommand
instance associated with
aMapElement
.EPPCodecException
- Error creating concrete
EPPCommand
public EPPResponse createResponse(org.w3c.dom.Element aMapElement) throws EPPCodecException
EPPResponse
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.createResponse
in class EPPMapFactory
aMapElement
- Mapping Extension EPP XML Element.EPPResponse
instance associated with
aMapElement
.EPPCodecException
- Error creating concrete
EPPResponse
public EPPService getService()
EPPService
associated with
EPPEmailFwdMapFactory
. The EPPService
is
used by EPPFactory
for distributing the responsibility
of creating concrete EPPCommand
and
EPPResponse
objects by XML namespace. The XML
namespace is defined in the returned EPPService
.getService
in class EPPMapFactory
public java.util.Set getXmlSchemas()
getXmlSchemas
in class EPPMapFactory
Set
of String
XML Schema names that
should be pre-loaded in the XML Parser.EPPMapFactory.getXmlSchemas()