Package com.verisign.epp.codec.idntable
Class EPPIdnTableCheckCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPCheckCmd
com.verisign.epp.codec.idntable.EPPIdnTableCheckCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Represents an EPP Internationalized Domain Name (IDN) Table <check>
command, which is used to determine if an (IDN) Table Identifier is known to
the server. The <idnTable:check> element MUST either a list of
<idnTable:domain> elements to check on the IDN table information for
the domain names or a list of < elements to check on the IDN table
information for the IDN table identifiers:
EPPIdnTableCheckResp is the concrete EPPReponse associated
with EPPIdnTableCheckCmd.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumCheck form types, that include:
UNDEFINED_FORMthat represents an undefined state, where neither or both tables and domains are defined.DOMAIN_FORMthat represents the "Domain Check Form", where domain names are only defined.TABLE_FORMthat represents the "Table Check Form", where table identifiers are only defined. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPIdnTableCheckCmd.static final StringXML root tag forEPPIdnTableCheckCmd.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
ConstructorsConstructorDescriptionEPPIdnTableCheckCmddefault constructor.EPPIdnTableCheckCmd(String aTransId) EPPIdnTableCheckCmdconstructor that only takes the client transaction identifierEPPIdnTableCheckCmd(String aTransId, EPPIdnTableDomainLabel aDomain) EPPIdnTableCheckCmdconstructor for setting an individual domain name to check in Domain Check Form.EPPIdnTableCheckCmd(String aTransId, String aTable) EPPIdnTableCheckCmdconstructor for setting an individual table identifier to check in Table Check Form. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDomain(EPPIdnTableDomainLabel aDomain) Append a domain name to the list of domain names to check.voidAppend a table identifier to the list of table identifiers to check.clone()CloneEPPIdnTableCheckCmd.protected voidDecode theEPPIdnTableCheckCmdattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPIdnTableCheckCmdinstance.booleanCompare an instance ofEPPIdnTableCheckCmdwith this instance.Get the list of domain names to checkgetForm()What check form is being used, which are defined by theFormenumeration.Gets the EPP command Namespace associated withEPPIdnTableCheckCmd.Get the list of table identifiers to check.booleanAre any domain names defined in the list of domain names?booleanAre any table identifiers defined in the list of table identifiers?voidsetDomain(EPPIdnTableDomainLabel aDomain) Set an individual domain name to check.voidsetDomains(List<EPPIdnTableDomainLabel> aDomains) Set the list of domain names to checkvoidSet an individual table identifier to check.voidSet the list of table identifiers to check.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.gen.EPPCheckCmd
doGenDecode, doGenEncode, getTypeMethods inherited from class com.verisign.epp.codec.gen.EPPCommand
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getKey, getOp, getTransId, hasExtension, hasExtensions, hasKey, hasTransId, setExtension, setExtensions, setTransId
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPIdnTableCheckCmd.- See Also:
-
ELM_NAME
XML root tag forEPPIdnTableCheckCmd.- See Also:
-
-
Constructor Details
-
EPPIdnTableCheckCmd
public EPPIdnTableCheckCmd()EPPIdnTableCheckCmddefault constructor. -
EPPIdnTableCheckCmd
EPPIdnTableCheckCmdconstructor that only takes the client transaction identifier- Parameters:
aTransId- Transaction Id associated with command.
-
EPPIdnTableCheckCmd
EPPIdnTableCheckCmdconstructor for setting an individual table identifier to check in Table Check Form.- Parameters:
aTransId- Transaction Id associated with command.aTable- table identifier to check
-
EPPIdnTableCheckCmd
EPPIdnTableCheckCmdconstructor for setting an individual domain name to check in Domain Check Form.- Parameters:
aTransId- Transaction Id associated with command.aDomain- Domain name to check
-
-
Method Details
-
getNamespace
Gets the EPP command Namespace associated withEPPIdnTableCheckCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPIdnTableMapFactory.NS
-
getForm
What check form is being used, which are defined by theFormenumeration.- Returns:
- One of the
Formvalues.
-
hasTables
public boolean hasTables()Are any table identifiers defined in the list of table identifiers?- Returns:
trueif there is at least one table identifier defined;falseotherwise.
-
getTables
Get the list of table identifiers to check.- Returns:
Listof table identifierString's
-
setTables
Set the list of table identifiers to check.- Parameters:
aTables-Listof table identifierString's
-
setTable
Set an individual table identifier to check. This method clears the existing list of table identifiers.- Parameters:
aTable- Table identifier to check
-
addTable
Append a table identifier to the list of table identifiers to check. This method does NOT clear the existing list of table identifiers.- Parameters:
aTable- Table identifier to check
-
hasDomains
public boolean hasDomains()Are any domain names defined in the list of domain names?- Returns:
trueif there is at least one domain name defined;falseotherwise.
-
getDomains
Get the list of domain names to check- Returns:
Listof domain names
-
setDomains
Set the list of domain names to check- Parameters:
aDomains-Listof domain names
-
setDomain
Set an individual domain name to check. This method clears the existing list of domain names.- Parameters:
aDomain- Domain name to check
-
addDomain
Append a domain name to the list of domain names to check. This method does NOT clear the existing list of domain names.- Parameters:
aDomain- Domain name to check
-
doEncode
Encode a DOM Element tree from the attributes of theEPPIdnTableCheckCmdinstance.- Specified by:
doEncodein classEPPCheckCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPIdnTableCheckCmdinstance. - Throws:
EPPEncodeException- Unable to encodeEPPIdnTableCheckCmdinstance.
-
doDecode
Decode theEPPIdnTableCheckCmdattributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPCheckCmd- Parameters:
aElement- Root DOM Element to decodeEPPIdnTableCheckCmdfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
equals
Compare an instance ofEPPIdnTableCheckCmdwith this instance.- Overrides:
equalsin classEPPCheckCmd- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise.
-
clone
CloneEPPIdnTableCheckCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- Deep copy clone of
EPPIdnTableCheckCmd - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPCommand- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-