public class EPPRegistryDS extends EPPRegistryKey
EPPRegistryKey.getMin()
and EPPRegistryKey.setMin(Integer)
to get and
set the element.EPPRegistryKey.getMax()
and EPPRegistryKey.setMax(Integer)
to get and
set the element.EPPRegistryKey.getAlgorithms()
and EPPRegistryKey.setAlgorithms(List)
to get and set
the element.getDigestTypes()
and setDigestTypes(List)
to get and set the element.EPPRegistryDNSSEC
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_DIGEST
XML tag name for the
digestTypeF attribute. |
static java.lang.String |
ELM_NAME
XML Element Name of
EPPRegistryDS root element. |
ALGORITHM, ELM_MAX, ELM_MIN
Constructor and Description |
---|
EPPRegistryDS()
Constructs a new
EPPRegistryDS object. |
EPPRegistryDS(java.lang.Integer min,
java.lang.Integer max,
java.util.List algorithms,
java.util.List digestTypes)
Constructs a new
EPPRegistryDS with given values. |
EPPRegistryDS(int min,
int max,
java.util.List algorithms,
java.util.List digestTypes)
Constructs a new
EPPRegistryDS with given values. |
Modifier and Type | Method and Description |
---|---|
void |
addDigestType(java.lang.String digestType)
Add one digest type to an existing list.
|
java.lang.Object |
clone()
Clone
EPPRegistryDS . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryDS attributes from the aElement DOM Element
tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPRegistryDS instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryDS compare. |
java.util.List |
getDigestTypes()
Get digest types.
|
java.lang.String |
getRootName()
DOCUMENT ME!
|
void |
setDigestTypes(java.util.List digestTypes)
Set digest types.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
addAlgorithm, getAlgorithms, getMax, getMin, getNamespace, setAlgorithms, setMax, setMin
public static final java.lang.String ELM_NAME
EPPRegistryDS
root element.public static final java.lang.String ELM_DIGEST
digestTypeF
attribute.public EPPRegistryDS()
EPPRegistryDS
object. All attributes are set to
default. Must call EPPRegistryKey.setMin(Integer)
and EPPRegistryKey.setMax(Integer)
before calling encode(Document)
method.public EPPRegistryDS(java.lang.Integer min, java.lang.Integer max, java.util.List algorithms, java.util.List digestTypes)
EPPRegistryDS
with given values.min
- minimum number of DS associated with the domain objectmax
- maximum number of DS associated with the domain objectalgorithms
- List
of algorithm String
digestTypes
- List
of digest type String
public EPPRegistryDS(int min, int max, java.util.List algorithms, java.util.List digestTypes)
EPPRegistryDS
with given values.min
- minimum number of DS associated with the domain objectmax
- maximum number of DS associated with the domain objectalgorithms
- List
of algorithm String
digestTypes
- List
of digest type String
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryDS
instance.encode
in interface EPPCodecComponent
encode
in class EPPRegistryKey
aDocument
- DOM Document that is being built. Used as an Element factory.EPPRegistryDS
instance.EPPEncodeException
- - Unable to encode EPPRegistryDS
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryDS
attributes from the aElement DOM Element
tree.decode
in interface EPPCodecComponent
decode
in class EPPRegistryKey
aElement
- Root DOM Element to decode EPPRegistryDS
from.EPPDecodeException
- Unable to decode aElementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryDS
.clone
in interface EPPCodecComponent
clone
in class EPPRegistryKey
EPPRegistryDS
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryDS
compare.equals
in class EPPRegistryKey
aObject
- EPPRegistryDS
instance to compare withtrue
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class EPPRegistryKey
String
if successful;
ERROR
otherwise.public java.util.List getDigestTypes()
List
of digest type in String
public void setDigestTypes(java.util.List digestTypes)
digestTypes
- List
of digest type in String
public void addDigestType(java.lang.String digestType)
digestType
- digest type in String
public java.lang.String getRootName()
getRootName
in class EPPRegistryKey
Copyright © VeriSign Inc. All Rights Reserved.