public abstract class EPPInfoCmd extends EPPCommand
EPPInfoCmd is an abtract EPP command class that represents a
info operation. A command mapping info command extends
EPPInfoCmd. For example, EPPDomainInfoCmd is
a EPPInfoCmd that implements the Domain Info Command
Mapping.extensions, OP_APPROVE, OP_CANCEL, OP_QUERY, OP_REJECT, OP_REQUEST, transId, TYPE_CHECK, TYPE_CREATE, TYPE_DELETE, TYPE_INFO, TYPE_LOGIN, TYPE_LOGOUT, TYPE_POLL, TYPE_RENEW, TYPE_TRANSFER, TYPE_UPDATE| Constructor and Description |
|---|
EPPInfoCmd()
Default constructor for
EPPInfoCmd. |
EPPInfoCmd(java.lang.String aTransId)
EPPInfoCmd that takes all required attributes as arguments. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doDecode(org.w3c.dom.Element aElement)
Must be defined by
EPPInfoCmd extensions (Command Mappings)
to decode the attributes to a DOM Element tree. |
protected abstract org.w3c.dom.Element |
doEncode(org.w3c.dom.Document aDocument)
Must be defined by
EPPInfoCmd extensions (Command Mappings)
to encode the attributes to a DOM Element tree. |
protected void |
doGenDecode(org.w3c.dom.Element aElement)
Decodes the
EPPInfoCmd attributes from the
aElement DOM Element tree. |
protected org.w3c.dom.Element |
doGenEncode(org.w3c.dom.Document aDocument)
Encodes a DOM Element tree from the attributes of the
EPPInfoCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compares an instance of
EPPInfoCmd with this instance. |
java.lang.String |
getType()
Gets the EPP command type associated with
EPPInfoCmd. |
addExtension, clone, decode, encode, getExtension, getExtension, getExtensions, getNamespace, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId, toStringpublic EPPInfoCmd()
EPPInfoCmd.public EPPInfoCmd(java.lang.String aTransId)
EPPInfoCmd that takes all required attributes as arguments.
This will call the super EPPCommand(String) method to
set the transaction id for the command.aTransId - Transaction Id associated with command.public java.lang.String getType()
EPPInfoCmd.getType in class EPPCommandpublic boolean equals(java.lang.Object aObject)
EPPInfoCmd with this instance.equals in class EPPCommandaObject - Object to compare with.protected org.w3c.dom.Element doGenEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPInfoCmd instance. This method is a member of the
Template Design Pattern. EPPCommand.encode is a
Template Method and this method is a Primitive
Operation within the Template Method Design Pattern.doGenEncode in class EPPCommandaDocument - - DOM Document that is being built. Used as an Element
factory.EPPInfoCmd
instance.EPPEncodeException - Unable to encode EPPInfoCmd
instance.protected void doGenDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPInfoCmd attributes from the
aElement DOM Element tree. This method is a member of
the Template Design Pattern. EPPCommand.decode is a
Template Method and this method is a Primitive
Operation within the Template Method Design Pattern.doGenDecode in class EPPCommandaElement - - Root DOM Element to decode EPPInfoCmd
from.EPPDecodeException - Unable to decode aElementprotected abstract org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPInfoCmd extensions (Command Mappings)
to encode the attributes to a DOM Element tree.
doGenEncode is a Template Method and this
method is a Primitive Operation within the Template Method
Design Pattern.aDocument - - DOM Document that is being built. Used as an Element
factory.EPPEncodeException - Unable to encode EPPInfoCmd extension
instance.protected abstract void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPInfoCmd extensions (Command Mappings)
to decode the attributes to a DOM Element tree.
doGenDecode is a Template Method and this
method is a Primitive Operation within the Template Method
Design Pattern.aElement - Root DOM Element representing the
EPPInfoCmd extension instance.EPPDecodeException - Unable to decode aElement.Copyright © VeriSign Inc. All Rights Reserved.