public class EPPRegistryInfoCmd extends EPPInfoCmd
isAll
and setAll
to get and set the element.getName
and
setName
to get and set the element.isSystem
and setSystem
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 FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryInfoCmd . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryInfoCmd . |
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 |
---|
EPPRegistryInfoCmd()
EPPRegistryInfoCmd default constructor. |
EPPRegistryInfoCmd(java.lang.String aTransId,
boolean aAll)
EPPRegistryInfoCmd constructor that tries to query a list of all
supported zone objects from the server. |
EPPRegistryInfoCmd(java.lang.String aTransId,
boolean aAll,
boolean aSystem)
EPPRegistryInfoCmd constructor that tries to query a list of all
supported zone objects from the server if aAll is true or
query for the registry system attributes if aSystem is
true . |
EPPRegistryInfoCmd(java.lang.String aTransId,
EPPRegistryZoneName aName)
EPPRegistryInfoCmd constructor that takes the qualified
zone object name as an argument. |
EPPRegistryInfoCmd(java.lang.String aTransId,
java.lang.String aName)
EPPRegistryInfoCmd constructor that takes the qualified aLabel
zone object name as an argument. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRegistryInfoCmd . |
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. |
EPPRegistryZoneName |
getName()
Gets the zone name.
|
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with
EPPRegistryInfoCmd
. |
boolean |
hasName()
Is the name defined?
|
boolean |
isAll()
Get the flag to query all supported zone objects.
|
boolean |
isSystem()
Get the flag to query the registry system attributes.
|
void |
setAll(boolean aAll)
Set the flag to query all supported zone objects.
|
void |
setName(EPPRegistryZoneName aName)
Sets the zone name
|
void |
setName(java.lang.String aName)
Sets the aLabel zone name
|
void |
setSystem(boolean aSystem)
Set the flag to query the registry system attributes.
|
doGenDecode, doGenEncode, getType
addExtension, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId, toString
public static final java.lang.String ELM_LOCALNAME
EPPRegistryInfoCmd
.public static final java.lang.String ELM_NAME
EPPRegistryInfoCmd
.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 aLabel
zone object name as an argument. Attribute all
and attribute
system
are set to false
.aTransId
- transaction Id associated with commandaName
- fully qualified aLabel zone object name to get information onpublic EPPRegistryInfoCmd(java.lang.String aTransId, EPPRegistryZoneName aName)
EPPRegistryInfoCmd
constructor that takes the qualified
zone object name as an argument. Attribute all
and attribute
system
are set to false
.aTransId
- transaction Id associated with commandaName
- fully qualified zone object name to get information onpublic EPPRegistryInfoCmd(java.lang.String aTransId, boolean aAll)
EPPRegistryInfoCmd
constructor that tries to query a list of all
supported zone objects from the server. Attribute name
is set to
null
and system
is set to false
.aTransId
- transaction Id associated with commandaAll
- Boolean value for the all
attribute.public EPPRegistryInfoCmd(java.lang.String aTransId, boolean aAll, boolean aSystem)
EPPRegistryInfoCmd
constructor that tries to query a list of all
supported zone objects from the server if aAll
is true
or
query for the registry system attributes if aSystem
is
true
.aTransId
- transaction Id associated with commandaAll
- Boolean value for the all
attribute.aSystem
- Boolean value for the system
attribute.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()
EPPRegistryInfoCmd
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPRegistryMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPRegistryInfoCmd
with this instance.equals
in class EPPInfoCmd
aObject
- Object to compare withtrue
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryInfoCmd
.clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPRegistryInfoCmd
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean hasName()
true
if the name is defined; false
otherwise.public EPPRegistryZoneName getName()
null
otherwise.public void setName(EPPRegistryZoneName aName)
aName
- Zone namepublic void setName(java.lang.String aName)
aName
- aLabel zone namepublic boolean isAll()
true
if client intends to query a list of all supported
zone object; false
otherwise.public void setAll(boolean aAll)
aAll
- true
if client intends to query a list of all supported
zone objects; false
otherwise.public boolean isSystem()
true
if client intends to query the registry system
attributes; false
otherwise.public void setSystem(boolean aSystem)
aSystem
- true
if client intends to query a list of all supported
zone objects; false
otherwise.