|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.idntable.EPPIdnTableInfoDomainTable
public class EPPIdnTableInfoDomainTable
EPPIdnTableInfoDomainTable is used to represent the
Internationalized Domain Name (IDN) table information for a domain name in a
Domain Info Form response.
| Nested Class Summary | |
|---|---|
static class |
EPPIdnTableInfoDomainTable.Type
Table types, that include: LANGUAGE that represents a Language IDN Table. |
| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPIdnTableInfoDomainTable. |
static java.lang.String |
ELM_NAME
XML root tag for EPPIdnTableInfoDomainTable. |
| Constructor Summary | |
|---|---|
EPPIdnTableInfoDomainTable()
Default constructor for EPPIdnTableInfoDomainTable. |
|
EPPIdnTableInfoDomainTable(java.lang.String aName,
EPPIdnTableInfoDomainTable.Type aType,
java.lang.String aDescription)
Constructor for EPPIdnTableInfoDomainTable that takes the
required attributes. |
|
EPPIdnTableInfoDomainTable(java.lang.String aName,
EPPIdnTableInfoDomainTable.Type aType,
java.lang.String aDescription,
java.lang.String aDescriptionLang,
java.lang.Boolean aVariantGen)
Constructor for EPPIdnTableInfoDomainTable that takes the
all attributes. |
|
| Method Summary | |
|---|---|
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 EPPIdnTableInfoDomainTable 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.lang.String |
getName()
Gets the IDN Table identifier. |
EPPIdnTableInfoDomainTable.Type |
getType()
Gets the IDN Table type |
java.lang.Boolean |
getVariantGen()
Gets the OPTIONAL boolean flag indicating that domains created using the IDN Table will have IDN variants generated. |
boolean |
hasDescriptionLang()
Is the description language defined? |
boolean |
hasVariantGen()
Is the variant generation flag 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 |
setName(java.lang.String aName)
Sets the IDN Table identifier. |
void |
setType(EPPIdnTableInfoDomainTable.Type aType)
Sets the IDN Table type. |
void |
setVariantGen(java.lang.Boolean aVariantGen)
Sets the OPTIONAL boolean flag indicating that domains created using the IDN Table will have IDN variants generated. |
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 java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELM_LOCALNAME
EPPIdnTableInfoDomainTable.
public static final java.lang.String ELM_NAME
EPPIdnTableInfoDomainTable.
| Constructor Detail |
|---|
public EPPIdnTableInfoDomainTable()
EPPIdnTableInfoDomainTable.
public EPPIdnTableInfoDomainTable(java.lang.String aName,
EPPIdnTableInfoDomainTable.Type aType,
java.lang.String aDescription)
EPPIdnTableInfoDomainTable that takes the
required attributes.
aName - Table identifieraType - IDN Table typeaDescription - Server defined description of the IDN Table.
public EPPIdnTableInfoDomainTable(java.lang.String aName,
EPPIdnTableInfoDomainTable.Type aType,
java.lang.String aDescription,
java.lang.String aDescriptionLang,
java.lang.Boolean aVariantGen)
EPPIdnTableInfoDomainTable that takes the
all attributes.
aName - Table identifieraType - IDN Table typeaDescription - Server defined description of the IDN Table.aDescriptionLang - Language of the descriptionaVariantGen - Flag indicating that domains created with the IDN Table will
have IDN variants generated.| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String aName)
aName - The IDN Table identifier.public EPPIdnTableInfoDomainTable.Type getType()
public void setType(EPPIdnTableInfoDomainTable.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 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 org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - DOM Document, which acts is an Element factory
EPPEncodeException - Error encoding EPPIdnTableInfoDomainTable
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 EPPCodecComponentaElement - Element to decode
EPPDecodeException - Error decoding Element
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPCodecComponent.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPIdnTableInfoDomainTable
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.ObjectString if successful;
ERROR otherwise.public boolean equals(java.lang.Object aObject)
EPPIdnTableInfoDomainTable with this
instance.
equals in class java.lang.ObjectaObject - Object to compare with.
true if equal; false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||