public class EPPRegistryMinMaxLength 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 |
---|
EPPRegistryMinMaxLength() |
EPPRegistryMinMaxLength(java.lang.Integer min,
java.lang.Integer max) |
EPPRegistryMinMaxLength(int min,
int max) |
EPPRegistryMinMaxLength(java.lang.String rootName,
java.lang.Integer min,
java.lang.Integer max) |
EPPRegistryMinMaxLength(java.lang.String rootName,
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() |
protected void |
validateState() |
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 EPPRegistryMinMaxLength()
public EPPRegistryMinMaxLength(java.lang.Integer min, java.lang.Integer max)
public EPPRegistryMinMaxLength(int min, int max)
public EPPRegistryMinMaxLength(java.lang.String rootName, java.lang.Integer min, java.lang.Integer max)
public EPPRegistryMinMaxLength(java.lang.String rootName, int min, int max)
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPCodecComponent
EPPCommand
is
created and is used to append the attribute nodes of
EPPCommand
.encode
in interface EPPCodecComponent
aDocument
- DOM document used as a factory of DOM objects.EPPEncodeException
- Error encoding the DOM element tree.protected void validateState() throws EPPEncodeException
EPPEncodeException
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPCodecComponent
aElement
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 EPPCodecComponent
aElement
- root DOM element associated with instanceEPPDecodeException
- Error decoding the DOM element tree.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
EPPCodecComponent
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPCodecComponent
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public 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 EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.