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,Serializable,Cloneable
Represents an EPP Balance <info> command that is used to retrieve
account balance and other finance information defined in the
EPPBalanceInfoResp.- 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 constructorEPPBalanceInfoCmd(String aTransId) This constructor calls the superEPPInfoCmd(String)method to set the transaction id for the command. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPBalanceInfoCmd.protected voidDecode theEPPBalanceInfoCmdattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPBalanceInfoCmdinstance.booleanCompare an instance ofEPPBalanceInfoCmdwith this instance.Gets the EPP command Namespace associated withEPPBalanceInfoCmd.toString()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, getTypeMethods inherited from class com.verisign.epp.codec.gen.EPPCommand
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getKey, getOp, getTransId, hasExtension, hasExtensions, hasKey, hasTransId, setExtension, setExtensions, setTransId
-
Constructor Details
-
EPPBalanceInfoCmd
public EPPBalanceInfoCmd()Default constructor -
EPPBalanceInfoCmd
This constructor calls the superEPPInfoCmd(String)method to set the transaction id for the command.- Parameters:
aTransId- Client Transaction Id associated with command.
-
-
Method Details
-
clone
CloneEPPBalanceInfoCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- clone of
EPPBalanceInfoCmd. - Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
Compare an instance ofEPPBalanceInfoCmdwith this instance.- Overrides:
equalsin classEPPInfoCmd- Parameters:
o- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
getNamespace
Gets the EPP command Namespace associated withEPPBalanceInfoCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPBalanceMapFactory.NS
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPCommand- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
doDecode
Decode 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
Encode 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.
-