public class EPPIdnLangTag extends java.lang.Object implements EPPCodecComponent
Title: EPP 1.0 RGP
Description: IDN Extension to the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_NAME
Constant for the idn lang tag
|
| Constructor and Description |
|---|
EPPIdnLangTag()
Create an EPPIdnLangTag instance
|
EPPIdnLangTag(java.lang.String aLang)
Create a EPPIdnLangTag intance with the given Language
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
void |
setLang(java.lang.String aLang)
Sets the Language Code
|
public static final java.lang.String ELM_NAME
public EPPIdnLangTag()
public EPPIdnLangTag(java.lang.String aLang)
aLang - the languagepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPIdnLangTag.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPIdnLangTagjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - 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 EPPCodecComponentaElement - EPPDecodeExceptionpublic boolean equals(java.lang.Object aObject)
EPPIdnLangTag compare.equals in class java.lang.ObjectaObject - EPPIdnLangTag instance to compare withpublic java.lang.String getLang()
public void setLang(java.lang.String aLang)
aLang - the language codepublic java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.