|
||||||||||
| 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.contact.EPPContactCheckCmd
public class EPPContactCheckCmd
Represents an EPP Contact <check> command, which is used to determine
if a contact id is known to the server. In addition to the standard EPP
command elements, the <check> command MUST contain a
<contact:check> element that identifies the contact namespace and the
location of the contact schema. The <contact:check> element MUST
contain the following child elements:
getIds and
setIds to get and set the elements. Use setId to
set an individual id.
EPPContactCheckResp is the concrete EPPReponse
associated with EPPContactCheckCmd.
EPPContactCheckResp,
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 | |
|---|---|
EPPContactCheckCmd()
EPPContactCheckCmd default constructor. |
|
EPPContactCheckCmd(java.lang.String aTransId,
java.lang.String aId)
EPPContactCheckCmd constructor that will check an
individual contact id. |
|
EPPContactCheckCmd(java.lang.String aTransId,
java.util.Vector someIds)
EPPContactCheckCmd constructor that will check a list of
contact ids. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPContactCheckCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPContactCheckCmd 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 EPPContactCheckCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPContactCheckCmd with this
instance. |
java.util.Vector |
getIds()
Gets contact ids to check. |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with EPPContactCheckCmd. |
void |
setId(java.lang.String aId)
Sets contact id to check. |
void |
setIds(java.util.Vector someIds)
Sets contact ids 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 |
| Constructor Detail |
|---|
public EPPContactCheckCmd()
EPPContactCheckCmd default constructor. It will set the
ids attribute to an empty Vector.
public EPPContactCheckCmd(java.lang.String aTransId,
java.lang.String aId)
EPPContactCheckCmd constructor that will check an
individual contact id.
aTransId - Transaction Id associated with command.aId - Contact id to check
public EPPContactCheckCmd(java.lang.String aTransId,
java.util.Vector someIds)
EPPContactCheckCmd constructor that will check a list of
contact ids.
aTransId - Transaction Id associated with command.someIds - Vector of contact id String's.| Method Detail |
|---|
public java.lang.String getNamespace()
EPPContactCheckCmd.
getNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPContactMapFactory.NS
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPContactCheckCmd instance.
doEncode in class EPPCheckCmdaDocument - DOM Document that is being built. Used as an Element
factory.
EPPContactCheckCmd instance.
EPPEncodeException - Unable to encode
EPPContactCheckCmd instance.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPContactCheckCmd attributes from the aElement
DOM Element tree.
doDecode in class EPPCheckCmdaElement - Root DOM Element to decode
EPPContactCheckCmd from.
EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPContactCheckCmd with this
instance.
equals in class EPPCheckCmdaObject - Object to compare with.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPContactCheckCmd.
clone in interface EPPCodecComponentclone in class EPPCommandEPPContactCheckCmd
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 EPPCommandString if successful;
ERROR otherwise.public void setId(java.lang.String aId)
aId - Id to check.public java.util.Vector getIds()
Vector of contact id String's.public void setIds(java.util.Vector someIds)
someIds - Ids to check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||