public class EPPRegistryMinMaxPeriod extends java.lang.Object implements EPPCodecComponent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_NAME |
| Constructor and Description |
|---|
EPPRegistryMinMaxPeriod() |
EPPRegistryMinMaxPeriod(java.lang.Integer lMin,
java.lang.String uMin,
java.lang.Integer lMax,
java.lang.String uMax,
java.lang.Integer lDefault,
java.lang.String uDefault) |
EPPRegistryMinMaxPeriod(int min,
java.lang.String minUnit,
int max,
java.lang.String maxUnit,
int defaultLength,
java.lang.String defaultLengthUnit) |
| 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) |
EPPRegistryDefaultPeriodType |
getDefaultLength() |
EPPRegistryMaxPeriodType |
getMax() |
EPPRegistryMinPeriodType |
getMin() |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
java.lang.String |
getRootName() |
void |
setDefaultLength(EPPRegistryDefaultPeriodType defaultLength) |
void |
setMax(EPPRegistryMaxPeriodType max) |
void |
setMin(EPPRegistryMinPeriodType min) |
void |
setRootName(java.lang.String rootName) |
java.lang.String |
toString() |
public static final java.lang.String ELM_NAME
public EPPRegistryMinMaxPeriod()
public EPPRegistryMinMaxPeriod(java.lang.Integer lMin,
java.lang.String uMin,
java.lang.Integer lMax,
java.lang.String uMax,
java.lang.Integer lDefault,
java.lang.String uDefault)
public EPPRegistryMinMaxPeriod(int min,
java.lang.String minUnit,
int max,
java.lang.String maxUnit,
int defaultLength,
java.lang.String defaultLengthUnit)
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 EPPRegistryMinPeriodType getMin()
public void setMin(EPPRegistryMinPeriodType min)
public EPPRegistryMaxPeriodType getMax()
public void setMax(EPPRegistryMaxPeriodType max)
public java.lang.String getRootName()
public void setRootName(java.lang.String rootName)
public EPPRegistryDefaultPeriodType getDefaultLength()
public void setDefaultLength(EPPRegistryDefaultPeriodType defaultLength)
public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.