|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.idnext.EPPIdnLangTag
public class EPPIdnLangTag
EPPCodecComponent that encodes and decodes a IDN Lang Tag.
Title: EPP 1.0 RGP
Description: IDN Extension to the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
Field Summary | |
---|---|
static java.lang.String |
ELM_NAME
Constant for the idn lang tag |
Constructor Summary | |
---|---|
EPPIdnLangTag()
Create an EPPIdnLangTag instance |
|
EPPIdnLangTag(java.lang.String aLang)
Create a EPPIdnLangTag intance with the given Language |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPIdnLangTag . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPIdnLangExtCrete component |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML document |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPIdnLangTag compare. |
java.lang.String |
getLang()
Returns the Language Code. |
void |
setLang(java.lang.String aLang)
Sets the Language Code |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ELM_NAME
Constructor Detail |
---|
public EPPIdnLangTag()
public EPPIdnLangTag(java.lang.String aLang)
aLang
- the languageMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPIdnLangTag
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPIdnLangTag
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.
EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
decode
in interface EPPCodecComponent
aElement
-
EPPDecodeException
public boolean equals(java.lang.Object aObject)
EPPIdnLangTag
compare.
equals
in class java.lang.Object
aObject
- EPPIdnLangTag
instance to compare with
public java.lang.String getLang()
public void setLang(java.lang.String aLang)
aLang
- the language code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |