Package com.verisign.epp.codec.balance
Class EPPBalanceInfoCmd
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPCommand
-
- com.verisign.epp.codec.gen.EPPInfoCmd
-
- com.verisign.epp.codec.balance.EPPBalanceInfoCmd
-
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,java.io.Serializable,java.lang.Cloneable
public class EPPBalanceInfoCmd extends EPPInfoCmd
Represents an EPP Balance <info> command that is used to retrieve account balance and other finance information defined in theEPPBalanceInfoResp.- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description EPPBalanceInfoCmd()Default constructorEPPBalanceInfoCmd(java.lang.String aTransId)This constructor calls the superEPPInfoCmd(String)method to set the transaction id for the command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPBalanceInfoCmd.protected voiddoDecode(org.w3c.dom.Element aElement)Decode theEPPBalanceInfoCmdattributes from the aElement DOM Element tree.protected org.w3c.dom.ElementdoEncode(org.w3c.dom.Document aDocument)Encode a DOM Element tree from the attributes of theEPPBalanceInfoCmdinstance.booleanequals(java.lang.Object o)Compare an instance ofEPPBalanceInfoCmdwith this instance.java.lang.StringgetNamespace()Gets the EPP command Namespace associated withEPPBalanceInfoCmd.java.lang.StringtoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.-
Methods inherited from class com.verisign.epp.codec.gen.EPPInfoCmd
doGenDecode, doGenEncode, getType
-
Methods inherited from class com.verisign.epp.codec.gen.EPPCommand
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId
-
-
-
-
Constructor Detail
-
EPPBalanceInfoCmd
public EPPBalanceInfoCmd()
Default constructor
-
EPPBalanceInfoCmd
public EPPBalanceInfoCmd(java.lang.String aTransId)
This constructor calls the superEPPInfoCmd(String)method to set the transaction id for the command.- Parameters:
aTransId- Client Transaction Id associated with command.
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPBalanceInfoCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- clone of
EPPBalanceInfoCmd. - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
equals
public boolean equals(java.lang.Object o)
Compare an instance ofEPPBalanceInfoCmdwith this instance.- Overrides:
equalsin classEPPInfoCmd- Parameters:
o- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
getNamespace
public java.lang.String getNamespace()
Gets the EPP command Namespace associated withEPPBalanceInfoCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPBalanceMapFactory.NS
-
toString
public java.lang.String toString()
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPCommand- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
doDecode
protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode theEPPBalanceInfoCmdattributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPInfoCmd- Parameters:
aElement- Root DOM Element to decodeEPPBalanceInfoCmdfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
doEncode
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionEncode a DOM Element tree from the attributes of theEPPBalanceInfoCmdinstance.- Specified by:
doEncodein classEPPInfoCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the
EPPBalanceInfoCmdinstance. - Throws:
EPPEncodeException- Unable to encodeEPPBalanceInfoCmdinstance.
-
-