Package com.verisign.epp.codec.idntable
Class EPPIdnTableInfoListItem
java.lang.Object
com.verisign.epp.codec.idntable.EPPIdnTableInfoListItem
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
EPPIdnTableInfoListItem is used to represent an IDN Table in a
List Info Form response. The IDN Table includes IDN Table identifier and the
update date.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPIdnTableInfoListItem.EPPIdnTableInfoListItem(String aName, Date aUpdateDate) Constructor forEPPIdnTableInfoListItemthat takes the required attributed of the table identifier (name) and the update date. -
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 ofEPPIdnTableInfoListItemwith this instance.getName()Gets the IDN Table identifier.Returns the XML namespace associated with theEPPCodecComponent.Gets the date and time that the IDN Table was created or last updated.voidSets the IDN Table identifier.voidsetUpdateDate(Date aUpdateDate) Sets the date and time that the IDN Table was created or last updated.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPIdnTableInfoListItem.- See Also:
-
ELM_NAME
XML root tag forEPPIdnTableInfoListItem.- See Also:
-
-
Constructor Details
-
EPPIdnTableInfoListItem
public EPPIdnTableInfoListItem()Default constructor forEPPIdnTableInfoListItem. -
EPPIdnTableInfoListItem
Constructor forEPPIdnTableInfoListItemthat takes the required attributed of the table identifier (name) and the update date.- Parameters:
aName- Table identifieraUpdateDate- Date and time the IDN Table was created or last updated.
-
-
Method Details
-
getName
Gets the IDN Table identifier.- Returns:
- The IDN Table identifier
-
setName
Sets the IDN Table identifier.- Parameters:
aName- The IDN Table identifier.
-
getUpdateDate
Gets the date and time that the IDN Table was created or last updated.- Returns:
- Date and time the IDN Table was created or last updated.
-
setUpdateDate
Sets the date and time that the IDN Table was created or last updated.- Parameters:
aUpdateDate- Date and time the IDN Table was created or last updated.
-
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 encodingEPPIdnTableInfoListItem
-
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
EPPIdnTableInfoListItem - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
equals
Compare an instance ofEPPIdnTableInfoListItemwith this instance. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-