Package com.verisign.epp.codec.gen
Class EPPInfoCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPInfoCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
- Direct Known Subclasses:
EPPBalanceInfoCmd,EPPBalanceInfoCmd,EPPChangeInfoCmd,EPPContactInfoCmd,EPPDefRegInfoCmd,EPPDomainInfoCmd,EPPEmailFwdInfoCmd,EPPHostInfoCmd,EPPIdnTableInfoCmd,EPPMaintenanceInfoCmd,EPPNameVerificationInfoCmd,EPPNameWatchInfoCmd,EPPOrgInfoCmd,EPPRegistryInfoCmd,EPPRegistryInfoCmd
The EPP <info> command is used to retrieve information associated with
an existing object. The elements needed to identify an object and the type
of information associated with an object are both object- specific, so the
child elements of the <info> command are specified using the EPP
extension framework. In addition to the standard EPP command elements, the
<info> command SHALL contain the following child elements: An
object-specific <obj:info> element that identifies the object to be
queried.
EPPInfoCmd is an abstract 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.- See Also:
-
Field Summary
Fields inherited from class com.verisign.epp.codec.gen.EPPCommand
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 Summary
ConstructorsConstructorDescriptionDefault constructor forEPPInfoCmd.EPPInfoCmd(String aTransId) EPPInfoCmdthat takes all required attributes as arguments. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidMust be defined byEPPInfoCmdextensions (Command Mappings) to decode the attributes to a DOM Element tree.protected abstract ElementMust be defined byEPPInfoCmdextensions (Command Mappings) to encode the attributes to a DOM Element tree.protected voiddoGenDecode(Element aElement) Decodes theEPPInfoCmdattributes from theaElementDOM Element tree.protected ElementdoGenEncode(Document aDocument) Encodes a DOM Element tree from the attributes of theEPPInfoCmdinstance.booleanCompares an instance ofEPPInfoCmdwith this instance.getType()Gets the EPP command type associated withEPPInfoCmd.Methods inherited from class com.verisign.epp.codec.gen.EPPCommand
addExtension, clone, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getKey, getNamespace, getOp, getTransId, hasExtension, hasExtensions, hasKey, hasTransId, setExtension, setExtensions, setTransId, toString
-
Constructor Details
-
EPPInfoCmd
public EPPInfoCmd()Default constructor forEPPInfoCmd. -
EPPInfoCmd
EPPInfoCmdthat takes all required attributes as arguments. This will call the superEPPCommand(String)method to set the transaction id for the command.- Parameters:
aTransId- Transaction Id associated with command.
-
-
Method Details
-
getType
Gets the EPP command type associated withEPPInfoCmd.- Specified by:
getTypein classEPPCommand- Returns:
- EPPCommand.TYPE_INFO
-
equals
Compares an instance ofEPPInfoCmdwith this instance.- Overrides:
equalsin classEPPCommand- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
doGenEncode
Encodes a DOM Element tree from the attributes of theEPPInfoCmdinstance. This method is a member of the Template Design Pattern.EPPCommand.encodeis a Template Method and this method is a Primitive Operation within the Template Method Design Pattern.- Specified by:
doGenEncodein classEPPCommand- Parameters:
aDocument- - DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the
EPPInfoCmdinstance. - Throws:
EPPEncodeException- Unable to encodeEPPInfoCmdinstance.
-
doGenDecode
Decodes theEPPInfoCmdattributes from theaElementDOM Element tree. This method is a member of the Template Design Pattern.EPPCommand.decodeis a Template Method and this method is a Primitive Operation within the Template Method Design Pattern.- Specified by:
doGenDecodein classEPPCommand- Parameters:
aElement- - Root DOM Element to decodeEPPInfoCmdfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
doEncode
Must be defined byEPPInfoCmdextensions (Command Mappings) to encode the attributes to a DOM Element tree.doGenEncodeis a Template Method and this method is a Primitive Operation within the Template Method Design Pattern.- Parameters:
aDocument- - DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the EPPInfoCmd extension instance.
- Throws:
EPPEncodeException- Unable to encode EPPInfoCmd extension instance.
-
doDecode
Must be defined byEPPInfoCmdextensions (Command Mappings) to decode the attributes to a DOM Element tree.doGenDecodeis a Template Method and this method is a Primitive Operation within the Template Method Design Pattern.- Parameters:
aElement- Root DOM Element representing theEPPInfoCmdextension instance.- Throws:
EPPDecodeException- Unable to decodeaElement.
-