|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.idntable.EPPIdnTableCheckResp
public class EPPIdnTableCheckResp
Represents an Internationalized Domain Name (IDN) Table response to a <check> command, with two different forms including the Domain Check Form and the Table Check Form. The response in Domain Check Form returns the validity of the domain name and the matching IDN table identifiers. The response in Table Check Form returns whether or not the table identifier exists.
EPPIdnTableCheckCmd
,
EPPIdnTableCheckDomain
,
EPPIdnTableCheckTable
,
Serialized FormNested Class Summary | |
---|---|
static class |
EPPIdnTableCheckResp.Form
Check form types, that include: UNDEFINED_FORM that represents an undefined state, where
neither or both tables and domains are defined. |
Field Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPIdnTableCheckResp . |
static java.lang.String |
ELM_NAME
XML root tag for EPPIdnTableCheckCmd . |
Fields inherited from class com.verisign.epp.codec.gen.EPPResponse |
---|
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED |
Constructor Summary | |
---|---|
EPPIdnTableCheckResp()
EPPIdnTableCheckResp default constructor. |
|
EPPIdnTableCheckResp(EPPTransId aTransId)
EPPIdnTableCheckResp constructor that only takes the
transaction identifier. |
|
EPPIdnTableCheckResp(EPPTransId aTransId,
EPPIdnTableCheckDomain aDomain)
EPPIdnTableCheckResp constructor that takes an individual
domain. |
|
EPPIdnTableCheckResp(EPPTransId aTransId,
EPPIdnTableCheckTable aTable)
EPPIdnTableCheckResp constructor that takes an individual
table. |
Method Summary | |
---|---|
void |
addDomain(EPPIdnTableCheckDomain aDomain)
Append a domain to the list of domains. |
void |
addTable(EPPIdnTableCheckTable aTable)
Append a table to the list of tables. |
java.lang.Object |
clone()
Clone EPPIdnTableCheckResp . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPIdnTableCheckResp 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 EPPIdnTableCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPIdnTableCheckResp with this
instance. |
java.util.List<EPPIdnTableCheckDomain> |
getDomains()
Get the list of domains |
EPPIdnTableCheckResp.Form |
getForm()
What check form is being used, which are defined by the Form
enumeration. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with EPPIdnTableCheckResp . |
java.util.List<EPPIdnTableCheckTable> |
getTables()
Get the list of tables. |
java.lang.String |
getType()
Get the EPP response type associated with EPPIdnTableCheckResp . |
boolean |
hasDomains()
Are any domains defined in the list of domains? |
boolean |
hasTables()
Are any table defined in the list of tables? |
void |
setDomain(EPPIdnTableCheckDomain aDomain)
Set an individual domain. |
void |
setDomains(java.util.List<EPPIdnTableCheckDomain> aDomains)
Set the list of domains |
void |
setTable(EPPIdnTableCheckTable aTable)
Set an individual table. |
void |
setTables(java.util.List<EPPIdnTableCheckTable> aTables)
Set the list of tables. |
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.EPPResponse |
---|
addExtension, decode, encode, getExtension, getExtension, getExtensions, getMessageQueue, getMsgQueue, getMsgQueueCount, getMsgQueueDate, getMsgQueueMsg, getQDate, getResult, getResults, getTransId, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ELM_LOCALNAME
EPPIdnTableCheckResp
.
public static final java.lang.String ELM_NAME
EPPIdnTableCheckCmd
.
Constructor Detail |
---|
public EPPIdnTableCheckResp()
EPPIdnTableCheckResp
default constructor. It will set
results attribute to an empty List
.
public EPPIdnTableCheckResp(EPPTransId aTransId)
EPPIdnTableCheckResp
constructor that only takes the
transaction identifier.
aTransId
- transaction Id associated with responsepublic EPPIdnTableCheckResp(EPPTransId aTransId, EPPIdnTableCheckTable aTable)
EPPIdnTableCheckResp
constructor that takes an individual
table. Add more tables using addTable(EPPIdnTableCheckTable)
.
aTransId
- transaction Id associated with responseaTable
- An individual tablepublic EPPIdnTableCheckResp(EPPTransId aTransId, EPPIdnTableCheckDomain aDomain)
EPPIdnTableCheckResp
constructor that takes an individual
domain. Add more domains using addDomain(EPPIdnTableCheckDomain)
.
aTransId
- transaction Id associated with responseaDomain
- An individual domainMethod Detail |
---|
public EPPIdnTableCheckResp.Form getForm()
Form
enumeration.
Form
values.public boolean hasTables()
true
if there is at least one table
defined; false
otherwise.public java.util.List<EPPIdnTableCheckTable> getTables()
List
of tablespublic void setTables(java.util.List<EPPIdnTableCheckTable> aTables)
aTables
- List
of tablespublic void setTable(EPPIdnTableCheckTable aTable)
aTable
- Table check resultpublic void addTable(EPPIdnTableCheckTable aTable)
aTable
- Table check resultpublic boolean hasDomains()
true
if there is at least one domain defined;
false
otherwise.public java.util.List<EPPIdnTableCheckDomain> getDomains()
List
of domainspublic void setDomains(java.util.List<EPPIdnTableCheckDomain> aDomains)
aDomains
- List
of domainspublic void setDomain(EPPIdnTableCheckDomain aDomain)
aDomain
- Domain check resultpublic void addDomain(EPPIdnTableCheckDomain aDomain)
aDomain
- Domain check resultprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPIdnTableCheckResp
instance.
doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPIdnTableCheckResp
instance.
EPPEncodeException
- Unable to encode EPPIdnTableCheckResp
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPIdnTableCheckResp
attributes from the aElement
DOM Element tree.
doDecode
in class EPPResponse
aElement
- Root DOM Element to decode EPPIdnTableCheckResp
from.
EPPDecodeException
- Unable to decode aElementpublic java.lang.String getType()
EPPIdnTableCheckResp
.
getType
in class EPPResponse
EPPIdnTableCheckResp.ELM_NAME
public java.lang.String getNamespace()
EPPIdnTableCheckResp
.
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPRegistryMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPIdnTableCheckResp
with this
instance.
equals
in class EPPResponse
aObject
- Object to compare with.
true
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPIdnTableCheckResp
.
clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPIdnTableCheckResp
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 EPPResponse
String
if successful;
ERROR
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |