public class EPPIdnTableInfoCmd extends EPPInfoCmd
EPPIdnTableInfoResp
is the concrete EPPReponse
associated with EPPIdnTableInfoCmd
.EPPIdnTableInfoResp
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
EPPIdnTableInfoCmd.Form
Info form types, that include:
UNDEFINED_FORM that represents an undefined state, where
none of the forms can be determined.
DOMAIN_FORM that represents the "Domain Info
Form".
TABLE_FORM that represents the "Table Info
Form".
LIST_FORM that represents the "List Info
Form".
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPIdnTableInfoCmd . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPIdnTableInfoCmd . |
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 |
---|
EPPIdnTableInfoCmd()
EPPIdnTableInfoCmd default constructor. |
EPPIdnTableInfoCmd(java.lang.String aTransId)
EPPIdnTableInfoCmd constructor that only takes the client
transaction identifier |
EPPIdnTableInfoCmd(java.lang.String aTransId,
EPPIdnTableInfoCmd.Form aForm,
java.lang.String aValue)
EPPIdnTableInfoCmd constructor for setting an individual
table identifier to check in Table Check Form. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPIdnTableInfoCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPIdnTableInfoCmd 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
EPPIdnTableInfoCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPIdnTableInfoCmd with this
instance. |
java.lang.String |
getDomain()
Gets the domain name for Domain Info Form.
|
EPPIdnTableInfoCmd.Form |
getForm()
What inform is being used?
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPIdnTableInfoCmd . |
java.lang.String |
getTable()
Gets the table identifier for Table Info Form.
|
boolean |
hasDomain()
Is the domain defined?
|
boolean |
hasTable()
Is the table defined?
|
void |
setDomain(java.lang.String aDomain)
Sets the domain name for Domain Info Form.
|
void |
setForm(EPPIdnTableInfoCmd.Form aForm)
Set the form of the info command using one of the
Form
enumerated values. |
void |
setTable(java.lang.String aTable)
Sets the table identifier for Table Info Form.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
doGenDecode, doGenEncode, getType
addExtension, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId
public static final java.lang.String ELM_LOCALNAME
EPPIdnTableInfoCmd
.public static final java.lang.String ELM_NAME
EPPIdnTableInfoCmd
.public EPPIdnTableInfoCmd()
EPPIdnTableInfoCmd
default constructor.public EPPIdnTableInfoCmd(java.lang.String aTransId)
EPPIdnTableInfoCmd
constructor that only takes the client
transaction identifieraTransId
- Transaction Id associated with command.public EPPIdnTableInfoCmd(java.lang.String aTransId, EPPIdnTableInfoCmd.Form aForm, java.lang.String aValue)
EPPIdnTableInfoCmd
constructor for setting an individual
table identifier to check in Table Check Form.aTransId
- Transaction Id associated with command.aForm
- What is the form of the info command?aValue
- Value of the string passed with the form. Pass domain name for
the Form.DOMAIN_FORM
, table identifier for the
Form.TABLE_FORM
, and null
for the
Form.LIST_FORM
.public java.lang.String getNamespace()
EPPIdnTableInfoCmd
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPIdnTableMapFactory.NS
public boolean hasDomain()
true
if the domain is defined; false
otherwise.public java.lang.String getDomain()
null
otherwise.public void setDomain(java.lang.String aDomain)
Form.DOMAIN_FORM
for a non-null domain value.aDomain
- Domain name in Domain Info Form.public boolean hasTable()
true
if the table is defined; false
otherwise.public java.lang.String getTable()
null
otherwise.public void setTable(java.lang.String aTable)
Form.TABLE_FORM
for a non-null table
identifier value.aTable
- Table identifierpublic EPPIdnTableInfoCmd.Form getForm()
Form
enumerated values, where
UNDEFINED_FORM
is used when the form has not been
set.public void setForm(EPPIdnTableInfoCmd.Form aForm)
Form
enumerated values.aForm
- One of the Form
enumerated values.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPIdnTableInfoCmd
instance.doEncode
in class EPPInfoCmd
aDocument
- DOM Document that is being built. Used as an Element factory.EPPIdnTableInfoCmd
instance.EPPEncodeException
- Unable to encode EPPIdnTableInfoCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPIdnTableInfoCmd
attributes from the aElement
DOM Element tree.doDecode
in class EPPInfoCmd
aElement
- Root DOM Element to decode EPPIdnTableInfoCmd
from.EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPIdnTableInfoCmd
with this
instance.equals
in class EPPInfoCmd
aObject
- Object to compare with.true
if this object is the same as the aObject argument;
false
otherwise.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPIdnTableInfoCmd
.clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPIdnTableInfoCmd
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.