public class EPPIdnTableInfoTable extends java.lang.Object implements EPPCodecComponent
EPPIdnTableInfoTable
is used to represent the Internationalized
Domain Name (IDN) table information for an IDN Table in a Table Info Form
response.Modifier and Type | Class and Description |
---|---|
static class |
EPPIdnTableInfoTable.Type
Table types, that include:
LANGUAGE that represents a Language IDN Table.
SCRIPT that represents a Script IDN Table.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPIdnTableInfoTable . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPIdnTableInfoTable . |
Constructor and Description |
---|
EPPIdnTableInfoTable()
Default constructor for
EPPIdnTableInfoTable . |
EPPIdnTableInfoTable(java.lang.String aName,
EPPIdnTableInfoTable.Type aType,
java.lang.String aDescription,
java.util.Date aUpdateDate)
Constructor for
EPPIdnTableInfoTable that takes the required
attributes. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
clone an
EPPCodecComponent . |
void |
decode(org.w3c.dom.Element aElement)
decode a DOM element tree to initialize the instance attributes.
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode instance into a DOM element tree.
|
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPIdnTableInfoTable with this
instance. |
java.lang.String |
getDescription()
Gets the server defined description of the IDN Table.
|
java.lang.String |
getDescriptionLang()
Gets the language of the description of the IDN Table with the default
value of "en".
|
java.util.Date |
getEffectiveDate()
Gets the OPTIONAL effective date of the IDN Table.
|
java.lang.String |
getName()
Gets the IDN Table identifier.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
EPPIdnTableInfoTable.Type |
getType()
Gets the IDN Table type
|
java.util.Date |
getUpdateDate()
Gets the date and time that the IDN Table was created or last updated.
|
java.lang.String |
getUrl()
Gets the OPTIONAL URL for downloading the IDN Table with the applicable
set of code points and rules.
|
java.lang.Boolean |
getVariantGen()
Gets the OPTIONAL boolean flag indicating that domains created using the
IDN Table will have IDN variants generated.
|
java.lang.String |
getVersion()
Gets the OPTIONAL server defined version number of the IDN Table.
|
boolean |
hasDescriptionLang()
Is the description language defined?
|
boolean |
hasEffectiveDate()
Is the effective date defined?
|
boolean |
hasUrl()
Is the URL defined?
|
boolean |
hasVariantGen()
Is the variant generation flag defined?
|
boolean |
hasVersion()
Is the version defined?
|
void |
setDescription(java.lang.String aDescription)
Sets the server defined description of the IDN Table.
|
void |
setDescriptionLang(java.lang.String aDescriptionLang)
Sets the language of the description of the IDN Table.
|
void |
setEffectiveDate(java.util.Date aEffectiveDate)
Sets the OPTIONAL effective date of the IDN Table.
|
void |
setName(java.lang.String aName)
Sets the IDN Table identifier.
|
void |
setType(EPPIdnTableInfoTable.Type aType)
Sets the IDN Table type.
|
void |
setUpdateDate(java.util.Date aUpdateDate)
Sets the date and time that the IDN Table was created or last updated.
|
void |
setUrl(java.lang.String aUrl)
Sets the OPTIONAL URL for downloading the IDN Table with the applicable
set of code points and rules.
|
void |
setVariantGen(java.lang.Boolean aVariantGen)
Sets the OPTIONAL boolean flag indicating that domains created using the
IDN Table will have IDN variants generated.
|
void |
setVersion(java.lang.String aVersion)
Sets the OPTIONAL server defined version number of the IDN Table.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public static final java.lang.String ELM_LOCALNAME
EPPIdnTableInfoTable
.public static final java.lang.String ELM_NAME
EPPIdnTableInfoTable
.public EPPIdnTableInfoTable()
EPPIdnTableInfoTable
.public EPPIdnTableInfoTable(java.lang.String aName, EPPIdnTableInfoTable.Type aType, java.lang.String aDescription, java.util.Date aUpdateDate)
EPPIdnTableInfoTable
that takes the required
attributes.aName
- Table identifieraType
- IDN Table typeaDescription
- Server defined description of the IDN Table.aUpdateDate
- Date and time the IDN Table was created or last updated.public java.lang.String getName()
public void setName(java.lang.String aName)
aName
- The IDN Table identifier.public EPPIdnTableInfoTable.Type getType()
public void setType(EPPIdnTableInfoTable.Type aType)
aType
- IDN typepublic java.lang.String getDescription()
public void setDescription(java.lang.String aDescription)
aDescription
- The server defined description of the IDN Table.public boolean hasDescriptionLang()
true
if the description language is defined;
false
otherwise.public java.lang.String getDescriptionLang()
public void setDescriptionLang(java.lang.String aDescriptionLang)
aDescriptionLang
- The language of the description.public java.util.Date getUpdateDate()
public void setUpdateDate(java.util.Date aUpdateDate)
aUpdateDate
- Date and time the IDN Table was created or last updated.public boolean hasVersion()
true
if the version is defined; false
otherwise.public java.lang.String getVersion()
null
otherwise.public void setVersion(java.lang.String aVersion)
aVersion
- Server defined version of of the IDN Table. Set to
null
to clear the attribute.public boolean hasEffectiveDate()
true
if the effective date is defined;
false
otherwise.public java.util.Date getEffectiveDate()
null
otherwise.public void setEffectiveDate(java.util.Date aEffectiveDate)
aEffectiveDate
- The effective date of the IDN Table. Set to null
to clear the attribute.public boolean hasVariantGen()
true
if the variant generation flag is defined;
false
otherwise.public java.lang.Boolean getVariantGen()
true
or false
indicating that the
domains created using the IDN Table will have IDN variants
generated if defined; null
otherwise.public void setVariantGen(java.lang.Boolean aVariantGen)
aVariantGen
- Non-null
value indicating that the domains
created using the IDN Table will have IDN variants generated.
Use null
to clear the flag.public boolean hasUrl()
true
if the URL is defined; false
otherwise.public java.lang.String getUrl()
null
otherwise.public void setUrl(java.lang.String aUrl)
aUrl
- The URL for downloading the IDN Table with the applicable set
of code points and rules. Set to null
to clear
the attribute.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- DOM Document, which acts is an Element factoryEPPEncodeException
- Error encoding EPPIdnTableInfoTable
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
aElement
argument represents the root DOM element and is
used to traverse the DOM nodes for instance attribute values.decode
in interface EPPCodecComponent
aElement
- Element
to decodeEPPDecodeException
- Error decoding Element
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPIdnTableInfoTable
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 java.lang.Object
String
if successful;
ERROR
otherwise.public boolean equals(java.lang.Object aObject)
EPPIdnTableInfoTable
with this
instance.equals
in class java.lang.Object
aObject
- Object to compare with.true
if equal; false
otherwise.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.