|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryIDN
public class EPPRegistryIDN
Represents the Internationalized Domain Name (IDN) policy information. The
<registry:idn> must contain the following child elements:
getIdnVersion() and
setIdnVersion(String) to get and set the element.getIdnaVersion() and
setIdnaVersion(String) to get and set the element.getUnicodeVersion() and
setUnicodeVersion(String) to get and set the element.getEncoding() and
setEncoding(String) to get and set the element.getCommingleAllowed() and setCommingleAllowed(Boolean)
to get and set the element.getLanguages() and setLanguages(List) to get and set
the element. Use addLanguage(EPPRegistryLanguageType) to add one
language policy to the existing list.
EPPRegistryDomain,
EPPRegistryLanguageType,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
ELM_COMMINGLE_ALLOWED
XML Element Name of commingleAllowed attribute. |
static java.lang.String |
ELM_ENCODING
XML Element Name of encoding attribute. |
static java.lang.String |
ELM_IDN_VERSION
XML Element Name of idnVersion attribute. |
static java.lang.String |
ELM_IDNA_VERSION
XML Element Name of idnaVersion attribute. |
static java.lang.String |
ELM_NAME
XML Element Name of EPPRegistryIDN root element. |
static java.lang.String |
ELM_UNICODE_VERSION
XML Element Name of unicodeVersion attribute. |
| Constructor Summary | |
|---|---|
EPPRegistryIDN()
|
|
| Method Summary | |
|---|---|
void |
addLanguage(EPPRegistryLanguageType language)
Append one instance of EPPRegistryLanguageType to the existing
list. |
java.lang.Object |
clone()
Clone EPPRegistryIDN. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPRegistryIDN attributes from the aElement DOM
Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPRegistryIDN instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryIDN compare. |
java.lang.Boolean |
getCommingleAllowed()
Get whether commingling of scripts is allowed. |
java.lang.String |
getEncoding()
Get the character encoding. |
java.lang.String |
getIdnaVersion()
Get the idnaVersion. |
java.lang.String |
getIdnVersion()
Get the idnVersion. |
java.util.List |
getLanguages()
Get the List of EPPRegistryLanguageType. |
java.lang.String |
getUnicodeVersion()
Get the unicodeVersion. |
void |
setCommingleAllowed(java.lang.Boolean commingleAllowed)
Set whether commingling of scripts is allowed. |
void |
setEncoding(java.lang.String encoding)
Set the character encoding. |
void |
setIdnaVersion(java.lang.String idnaVersion)
Set the idnaVersion. |
void |
setIdnVersion(java.lang.String idnVersion)
Set the idnVersion. |
void |
setLanguages(java.util.List languages)
Set the List of EPPRegistryLanguageType. |
void |
setUnicodeVersion(java.lang.String unicodeVersion)
Set the unicodeVersion. |
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_NAME
EPPRegistryIDN root element.
public static final java.lang.String ELM_IDN_VERSION
idnVersion attribute.
public static final java.lang.String ELM_IDNA_VERSION
idnaVersion attribute.
public static final java.lang.String ELM_UNICODE_VERSION
unicodeVersion attribute.
public static final java.lang.String ELM_ENCODING
encoding attribute.
public static final java.lang.String ELM_COMMINGLE_ALLOWED
commingleAllowed attribute.
| Constructor Detail |
|---|
public EPPRegistryIDN()
| Method Detail |
|---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryIDN instance.
encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element factory.
EPPRegistryIDN
instance.
EPPEncodeException - - Unable to encode EPPRegistryIDN instance.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRegistryIDN attributes from the aElement DOM
Element tree.
decode in interface EPPCodecComponentaElement - Root DOM Element to decode EPPRegistryIDN from.
EPPDecodeException - Unable to decode aElement
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryIDN.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryIDN
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryIDN compare.
equals in class java.lang.ObjectaObject - EPPRegistryIDN instance to compare with
true if this object is the same as the aObject argument;
false otherwisepublic 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 java.lang.String getIdnVersion()
String representation of idnVersionpublic void setIdnVersion(java.lang.String idnVersion)
idnVersion - String representation of idnVersionpublic java.lang.String getUnicodeVersion()
String representation of unicodeVersionpublic void setUnicodeVersion(java.lang.String unicodeVersion)
unicodeVersion - String representation of unicodeVersionpublic java.lang.String getIdnaVersion()
String representation of idnaVersionpublic void setIdnaVersion(java.lang.String idnaVersion)
idnaVersion - String representation of idnaVersionpublic java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
encoding - character encoding for transforming Unicode characters
uniquely and reversibly into DNS compatible characterspublic java.lang.Boolean getCommingleAllowed()
true allow commingling; false do not allow
comminglingpublic void setCommingleAllowed(java.lang.Boolean commingleAllowed)
commingleAllowed - true allow commingling; false do not allow
comminglingpublic java.util.List getLanguages()
List of EPPRegistryLanguageType.
List of EPPRegistryLanguageType that defines the
supported language codes and character code point policypublic void setLanguages(java.util.List languages)
List of EPPRegistryLanguageType.
languages - List of EPPRegistryLanguageType that defines
the supported language codes and character code point policypublic void addLanguage(EPPRegistryLanguageType language)
EPPRegistryLanguageType to the existing
list.
language - instance of EPPRegistryLanguageType that defines the
supported language codes and character code point policy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||