public class EPPRegistryLanguageType extends java.lang.Object implements EPPCodecComponent
| Modifier and Type | Field and Description |
|---|---|
static java.util.List |
VALID_VARIANT_STRATEGIES |
static java.lang.String |
VARIANT_STRATEGY_BLOCKED |
static java.lang.String |
VARIANT_STRATEGY_OPEN |
static java.lang.String |
VARIANT_STRATEGY_RESTRICTED |
| Constructor and Description |
|---|
EPPRegistryLanguageType() |
EPPRegistryLanguageType(java.lang.String code,
java.lang.String table,
java.lang.String variantStrategy) |
| Modifier and Type | Method and Description |
|---|---|
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) |
java.lang.String |
getCode() |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
java.lang.String |
getStrategy() |
java.lang.String |
getTable() |
void |
setCode(java.lang.String code) |
void |
setStrategy(java.lang.String strategy) |
void |
setTable(java.lang.String table) |
java.lang.String |
toString() |
public static final java.util.List VALID_VARIANT_STRATEGIES
public static final java.lang.String VARIANT_STRATEGY_BLOCKED
public static final java.lang.String VARIANT_STRATEGY_RESTRICTED
public static final java.lang.String VARIANT_STRATEGY_OPEN
public EPPRegistryLanguageType()
public EPPRegistryLanguageType(java.lang.String code,
java.lang.String table,
java.lang.String variantStrategy)
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPCodecComponentEPPCommand is
created and is used to append the attribute nodes of
EPPCommand.encode in interface EPPCodecComponentaDocument - DOM document used as a factory of DOM objects.EPPEncodeException - Error encoding the DOM element tree.public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPCodecComponentaElement argument represents the root DOM element and is
used to traverse the DOM nodes for instance attribute values. EPPCommand is
passed into decode of EPPCommand to be decoded and
used to set the instance attributes.decode in interface EPPCodecComponentaElement - root DOM element associated with instanceEPPDecodeException - Error decoding the DOM element tree.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPCodecComponentEPPCodecComponent.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPCodecComponentjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getTable()
public void setTable(java.lang.String table)
public java.lang.String getStrategy()
public void setStrategy(java.lang.String strategy)
public java.lang.String getCode()
public void setCode(java.lang.String code)
public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.