public class EPPRegistryInfoCmd extends EPPInfoCmd
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 Formextensions, 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 |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
doGenDecode, doGenEncode, getTypeaddExtension, clone, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId, toStringpublic 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 onprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryInfoCmd instance.doEncode in class EPPInfoCmdaDocument - 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 EPPInfoCmdaElement - Root DOM Element to decode EPPRegistryInfoCmd
from.EPPDecodeException - Unable to decode aElementpublic java.lang.String getNamespace()
EPPCommandEPPCommand.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPCommand.public boolean equals(java.lang.Object aObject)
EPPRegistryInfoCmd with this
instance.equals in class EPPInfoCmdaObject - Object to compare withtrue 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)