|
||||||||||
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.EPPInfoCmd
com.verisign.epp.codec.registry.EPPRegistryInfoCmd
public class EPPRegistryInfoCmd
Represents an EPP Registry <info> command that is used to retrieve
information associated with a registry. The <registry:info> element
MUST contain one of the following child elements:
getName
and
setName
to get and set the element.
isAll
and
setAll
to get and set the element.
EPPRegistryInfoCmd
must contains one and only one of the above
elements.
EPPRegistryInfoResp
is the concrete EPPReponse
associated with EPPRegistryInfoResp
.
EPPRegistryInfoResp
,
Serialized FormField 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 | |
---|---|
EPPRegistryInfoCmd()
EPPRegistryInfoCmd default constructor. |
|
EPPRegistryInfoCmd(java.lang.String aTransId,
boolean all)
EPPRegistryInfoCmd constructor that tries to query a list of
all supported zone objects from the server. |
|
EPPRegistryInfoCmd(java.lang.String aTransId,
java.lang.String aName)
EPPRegistryInfoCmd constructor that takes the qualified zone
object name as an argument. |
Method Summary | |
---|---|
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPRegistryInfoCmd 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 EPPRegistryInfoCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPRegistryInfoCmd with this
instance. |
java.lang.String |
getName()
Get the name of zone object to get information on. |
java.lang.String |
getNamespace()
Gets the EPP namespace associated with the EPPCommand . |
boolean |
isAll()
Get the flag to query all supported zone objects. |
void |
setAll(boolean all)
Set the flag to query all supported zone objects. |
void |
setName(java.lang.String name)
Set the name of zone object to get information on. |
Methods inherited from class com.verisign.epp.codec.gen.EPPInfoCmd |
---|
doGenDecode, doGenEncode, getType |
Methods inherited from class com.verisign.epp.codec.gen.EPPCommand |
---|
addExtension, clone, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EPPRegistryInfoCmd()
EPPRegistryInfoCmd
default constructor. The all
is
set to false
and the name
is set to null
. Either
all
or name
must be set before invoking
encode
.
public EPPRegistryInfoCmd(java.lang.String aTransId, java.lang.String aName)
EPPRegistryInfoCmd
constructor that takes the qualified zone
object name as an argument. Attribute all
is set to false
.
aTransId
- transaction Id associated with commandaName
- fully qualified zone object name to get information onpublic EPPRegistryInfoCmd(java.lang.String aTransId, boolean all)
EPPRegistryInfoCmd
constructor that tries to query a list of
all supported zone objects from the server. Attribute name
is set
to nulL
.
aTransId
- transaction Id associated with commandall
- fully qualified zone object name to get information onMethod Detail |
---|
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryInfoCmd
instance.
doEncode
in class EPPInfoCmd
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPRegistryInfoCmd
instance.
EPPEncodeException
- Unable to encode EPPRegistryInfoCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryInfoCmd
attributes from the aElement
DOM Element tree.
doDecode
in class EPPInfoCmd
aElement
- Root DOM Element to decode EPPRegistryInfoCmd
from.
EPPDecodeException
- Unable to decode aElementpublic java.lang.String getNamespace()
EPPCommand
EPPCommand
.
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPCommand
.public boolean equals(java.lang.Object aObject)
EPPRegistryInfoCmd
with this
instance.
equals
in class EPPInfoCmd
aObject
- Object to compare with
true
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.String getName()
public void setName(java.lang.String name)
name
is null
, all
must be true; and vice versa.
name
- fully qualified zone object namepublic boolean isAll()
true
if client intends to query a list of all supported
zone object (name
must be set to null
). false
if
client intends to query detailed info of one zone object. (
name
must be non-blank)public void setAll(boolean all)
all
- true
if client intends to query a list of all
supported zone object (name
must be set to null
).
false
if client intends to query detailed info of one
zone object. (name
must be non-blank)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |