|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.idnmap.EPPIdnMap
public class EPPIdnMap
EPPIdnMap
is used in the extension to the domain create command
to define the IDN table and optionally the Unicode NFC of the domain name,
and in the extension to the domain info response to return the same
information about the domain name.
Field Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPIdnMap . |
static java.lang.String |
ELM_NAME
XML root tag for EPPIdnMap . |
Constructor Summary | |
---|---|
EPPIdnMap()
Default constructor for EPPIdnMap . |
|
EPPIdnMap(java.lang.String aTable)
Constructor for EPPIdnMap that takes the IDN table
identifier. |
|
EPPIdnMap(java.lang.String aTable,
java.lang.String aUname)
Constructor for EPPIdnMap that takes both the IDN table
identifier and the domain name uname in Unicode NFC. |
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 EPPIdnMap with this instance. |
java.lang.String |
getTable()
Gets the IDN table identifier. |
java.lang.String |
getUname()
Gets the uname value, which is the domain name in Unicode NFC. |
boolean |
hasUname()
Is the uname defined? |
void |
setTable(java.lang.String aTable)
Sets the IDN table identifier. |
void |
setUname(java.lang.String aUname)
Sets the uname value. |
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
EPPIdnMap
.
public static final java.lang.String ELM_NAME
EPPIdnMap
.
Constructor Detail |
---|
public EPPIdnMap()
EPPIdnMap
.
public EPPIdnMap(java.lang.String aTable)
EPPIdnMap
that takes the IDN table
identifier.
aTable
- IDN table identifier as provided by the serverpublic EPPIdnMap(java.lang.String aTable, java.lang.String aUname)
EPPIdnMap
that takes both the IDN table
identifier and the domain name uname in Unicode NFC.
aTable
- IDN table identifier as provided by the serveraUname
- Domain name in Unicode NFCMethod Detail |
---|
public java.lang.String getTable()
public void setTable(java.lang.String aTable)
aTable
- The IDN table identifier as provided by the server.public boolean hasUname()
true
if the uname is defined; false
otherwise.public java.lang.String getUname()
null
otherwise.public void setUname(java.lang.String aUname)
aUname
- Domain name in Unicode NFCpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- DOM Document, which acts is an Element factory
EPPEncodeException
- Error encoding EPPIdnMap
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 decode
EPPDecodeException
- Error decoding Element
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPIdnMap
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)
EPPIdnMap
with this instance.
equals
in class java.lang.Object
aObject
- 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 |