Package com.verisign.epp.codec.idntable
Class EPPIdnTableCheckTable
java.lang.Object
com.verisign.epp.codec.idntable.EPPIdnTableCheckTable
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
EPPIdnTableCheckTable is used to represent the Internationalized
Domain Name (IDN) table identifier in a IDN table response to a <check<
command. The IDN table identifier information includes the identifier and a
boolean indicating that it exists or not.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPIdnTableCheckTable.EPPIdnTableCheckTable(String aTable, boolean aExists) Constructor forEPPIdnTableCheckTablethat takes the required attributes of the table identifier and the exists flag. -
Method Summary
Modifier and TypeMethodDescriptionclone()clone anEPPCodecComponent.voiddecode a DOM element tree to initialize the instance attributes.encode instance into a DOM element tree.booleanCompare an instance ofEPPIdnTableCheckTablewith this instance.Returns the XML namespace associated with theEPPCodecComponent.getTable()Gets the table identifier.booleanisExists()Does the table identifier exist?voidsetExists(boolean aExists) Sets whether the table identifier exists.voidSets the table identifier.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPIdnTableCheckTable.- See Also:
-
ELM_NAME
XML root tag forEPPIdnTableCheckTable.- See Also:
-
-
Constructor Details
-
EPPIdnTableCheckTable
public EPPIdnTableCheckTable()Default constructor forEPPIdnTableCheckTable. -
EPPIdnTableCheckTable
Constructor forEPPIdnTableCheckTablethat takes the required attributes of the table identifier and the exists flag.- Parameters:
aTable- Table identifieraExists-trueif the table identifier exists;falseotherwise.
-
-
Method Details
-
getTable
Gets the table identifier.- Returns:
- The table identifier
-
setTable
Sets the table identifier.- Parameters:
aTable- The table identifier.
-
isExists
public boolean isExists()Does the table identifier exist?- Returns:
trueif the table identifier exists;falseotherwise.
-
setExists
public void setExists(boolean aExists) Sets whether the table identifier exists.- Parameters:
aExists-trueif the table identifier exists;falseotherwise.
-
encode
encode instance into a DOM element tree. A DOM Document is passed as an argument and functions as a factory for DOM objects. The root element associated with the instance is created and each instance attribute is appended as a child node.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document, which acts is an Element factory- Returns:
- Element Root element associated with the object
- Throws:
EPPEncodeException- Error encodingEPPIdnTableCheckTable
-
decode
decode a DOM element tree to initialize the instance attributes. TheaElementargument represents the root DOM element and is used to traverse the DOM nodes for instance attribute values.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement-Elementto decode- Throws:
EPPDecodeException- Error decodingElement
-
clone
clone anEPPCodecComponent.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of concrete
EPPIdnTableCheckTable - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
equals
Compare an instance ofEPPIdnTableCheckTablewith this instance. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-