|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPCheckCmd
com.verisign.epp.codec.defReg.EPPDefRegCheckCmd
public class EPPDefRegCheckCmd
Represents an EPP DefReg <check> command, which is used to determine
if a defReg name is known to the server. The <defReg:check> element
MUST contain the following child elements:
getNames
and setNames
to get and set the
elements. Use setName
to set an individual name.
EPPDefRegCheckResp
is the concrete EPPReponse
associated with EPPDefRegCheckCmd
.
EPPDefRegCheckResp
,
Serialized FormField Summary | |
---|---|
static int |
MAX_DEFREGS
Maximum number of defRegs to check at once. |
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 | |
---|---|
EPPDefRegCheckCmd()
EPPDefRegCheckCmd default constructor. |
|
EPPDefRegCheckCmd(java.lang.String aTransId,
EPPDefRegName aName)
EPPDefRegCheckCmd constructor that will check an individual
defReg name. |
|
EPPDefRegCheckCmd(java.lang.String aTransId,
java.util.Vector someNames)
EPPDefRegCheckCmd constructor that will check a list of
defReg names. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPDefRegCheckCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPDefRegCheckCmd 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 EPPDefRegCheckCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPDefRegCheckCmd with this
instance. |
java.util.Vector |
getNames()
Gets defReg names to check. |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with EPPDefRegCheckCmd . |
void |
setName(EPPDefRegName aName)
Sets defReg name to check. |
void |
setNames(java.util.Vector someNames)
Sets defReg names to check. |
java.lang.String |
toString()
Implementation of Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
Methods inherited from class com.verisign.epp.codec.gen.EPPCheckCmd |
---|
doGenDecode, doGenEncode, getType |
Methods inherited from class com.verisign.epp.codec.gen.EPPCommand |
---|
addExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MAX_DEFREGS
Constructor Detail |
---|
public EPPDefRegCheckCmd()
EPPDefRegCheckCmd
default constructor. It will set the
names attribute to an empty Vector
.
public EPPDefRegCheckCmd(java.lang.String aTransId, EPPDefRegName aName)
EPPDefRegCheckCmd
constructor that will check an individual
defReg name.
aTransId
- Transaction Id associated with command.aName
- DefReg name to checkpublic EPPDefRegCheckCmd(java.lang.String aTransId, java.util.Vector someNames)
EPPDefRegCheckCmd
constructor that will check a list of
defReg names.
aTransId
- Transaction Id associated with command.someNames
- Vector
of defReg name String
instances.Method Detail |
---|
public java.lang.String getNamespace()
EPPDefRegCheckCmd
.
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPDefRegMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPDefRegCheckCmd
with this
instance.
equals
in class EPPCheckCmd
aObject
- Object to compare with.
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPDefRegCheckCmd
.
clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPDefRegCheckCmd
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic 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.public void setName(EPPDefRegName aName)
aName
- Name to check.public java.util.Vector getNames()
String
's.public void setNames(java.util.Vector someNames)
someNames
- Names to check.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPDefRegCheckCmd
instance.
doEncode
in class EPPCheckCmd
aDocument
- DOM Document that is being built. Used as an Element
factory.
EPPDefRegCheckCmd
instance.
EPPEncodeException
- Unable to encode
EPPDefRegCheckCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPDefRegCheckCmd
attributes from the aElement
DOM Element tree.
doDecode
in class EPPCheckCmd
aElement
- Root DOM Element to decode
EPPDefRegCheckCmd
from.
EPPDecodeException
- Unable to decode aElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |