public class EPPRegistryMinMax extends java.lang.Object implements EPPCodecComponent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_MAX |
static java.lang.String |
ELM_MAX_LENGTH |
static java.lang.String |
ELM_MIN |
static java.lang.String |
ELM_MIN_LENGTH |
protected java.lang.String |
elmMax |
protected java.lang.String |
elmMin |
protected java.lang.Integer |
max |
protected java.lang.Integer |
min |
protected java.lang.String |
rootName |
| Constructor and Description |
|---|
EPPRegistryMinMax() |
EPPRegistryMinMax(java.lang.Integer min,
java.lang.Integer max) |
EPPRegistryMinMax(int min,
int max) |
| 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 |
getElmMax() |
java.lang.String |
getElmMin() |
java.lang.Integer |
getMax() |
java.lang.Integer |
getMin() |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
java.lang.String |
getRootName() |
void |
setElmMax(java.lang.String elmMax) |
void |
setElmMin(java.lang.String elmMin) |
void |
setMax(java.lang.Integer max) |
void |
setMin(java.lang.Integer min) |
void |
setRootName(java.lang.String aRootName) |
java.lang.String |
toString() |
public static final java.lang.String ELM_MIN
public static final java.lang.String ELM_MAX
public static final java.lang.String ELM_MIN_LENGTH
public static final java.lang.String ELM_MAX_LENGTH
protected java.lang.String elmMin
protected java.lang.String elmMax
protected java.lang.Integer min
protected java.lang.Integer max
protected java.lang.String rootName
public EPPRegistryMinMax()
public EPPRegistryMinMax(java.lang.Integer min,
java.lang.Integer max)
public EPPRegistryMinMax(int min,
int max)
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.Integer getMin()
public void setMin(java.lang.Integer min)
public java.lang.Integer getMax()
public void setMax(java.lang.Integer max)
public java.lang.String getRootName()
public void setRootName(java.lang.String aRootName)
public java.lang.String getElmMin()
public void setElmMin(java.lang.String elmMin)
public java.lang.String getElmMax()
public void setElmMax(java.lang.String elmMax)
public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.