public class EPPBalanceInfoCmd extends EPPInfoCmd
EPPBalanceInfoResp
.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 |
---|
EPPBalanceInfoCmd()
Default constructor
|
EPPBalanceInfoCmd(java.lang.String aTransId)
This constructor calls the super
EPPInfoCmd(String) method
to set the transaction id for the command. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPBalanceInfoCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPBalanceInfoCmd attributes from the aElement DOM
Element tree. |
protected org.w3c.dom.Element |
doEncode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPBalanceInfoCmd instance. |
boolean |
equals(java.lang.Object o)
Compare an instance of
EPPBalanceInfoCmd with this instance. |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPBalanceInfoCmd . |
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
doGenDecode, doGenEncode, getType
addExtension, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId
public EPPBalanceInfoCmd()
public EPPBalanceInfoCmd(java.lang.String aTransId)
EPPInfoCmd(String)
method
to set the transaction id for the command.aTransId
- Client Transaction Id associated with command.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPBalanceInfoCmd
.clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPBalanceInfoCmd
.java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object o)
EPPBalanceInfoCmd
with this instance.equals
in class EPPInfoCmd
o
- Object to compare with.true
if equal; false
otherwise.public java.lang.String getNamespace()
EPPBalanceInfoCmd
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPBalanceMapFactory.NS
public java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class EPPCommand
String
if successful;
ERROR
otherwise.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPBalanceInfoCmd
attributes from the aElement DOM
Element tree.doDecode
in class EPPInfoCmd
aElement
- Root DOM Element to decode EPPBalanceInfoCmd
from.EPPDecodeException
- Unable to decode aElementprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPBalanceInfoCmd
instance.doEncode
in class EPPInfoCmd
aDocument
- DOM Document that is being built. Used as an Element factory.EPPBalanceInfoCmd
instance.EPPEncodeException
- Unable to encode EPPBalanceInfoCmd
instance.