|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryKey
public class EPPRegistryKey
Defines the Key Data Interface, as defined in RFC 5910, policies. The
<registry:keyDataInterface> element contains the following child
elements:
getMin() and setMin(Integer) to get and
set the element.getMax() and setMax(Integer) to get and
set the element.getAlgorithms() and setAlgorithms(List) to get and set
the element. Use addAlgorithm(String) to add an algorithm
EPPRegistryDNSSEC,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
ALGORITHM
XML Element Name of algorithms attribute. |
static java.lang.String |
ELM_MAX
XML Element Name of max attribute. |
static java.lang.String |
ELM_MIN
XML Element Name of min attribute. |
static java.lang.String |
ELM_NAME
XML Element Name of EPPRegistryKey root element. |
| Constructor Summary | |
|---|---|
EPPRegistryKey()
Default constructor. |
|
EPPRegistryKey(java.lang.Integer min,
java.lang.Integer max,
java.util.List algorithms)
Constructs an instance with min, max and List of
algorithms. |
|
EPPRegistryKey(int min,
int max,
java.util.List algorithms)
Constructs an instance with min, max and List of
algorithms. |
|
| Method Summary | |
|---|---|
void |
addAlgorithm(java.lang.String altorithm)
Add one algorithm to existing supported algorithms. |
java.lang.Object |
clone()
Clone EPPRegistryKey. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPRegistryKey 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 EPPRegistryKey instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryKey compare. |
java.util.List |
getAlgorithms()
Get the supported algorithms. |
java.lang.Integer |
getMax()
Get the maximum number of keys. |
java.lang.Integer |
getMin()
Get the minimum number of keys. |
java.lang.String |
getRootName()
Get the root element tag name. |
void |
setAlgorithms(java.util.List algorithms)
Set the supported algorithms. |
void |
setMax(java.lang.Integer max)
Set the maximum number of keys. |
void |
setMin(java.lang.Integer min)
Set the minimum number of keys. |
java.lang.String |
toString()
Implementation of Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELM_NAME
EPPRegistryKey root element.
public static final java.lang.String ELM_MIN
min attribute.
public static final java.lang.String ELM_MAX
max attribute.
public static final java.lang.String ALGORITHM
algorithms attribute.
| Constructor Detail |
|---|
public EPPRegistryKey()
setMin(Integer) and
setMax(Integer) before calling encode(Document) method.
public EPPRegistryKey(java.lang.Integer min,
java.lang.Integer max,
java.util.List algorithms)
min, max and List of
algorithms.
min - minimum number of keys associated with the domain objectmax - maximum number of keys associated with the domain objectalgorithms - supported algorithms as described in section 2.1.3 of RFC 4034
public EPPRegistryKey(int min,
int max,
java.util.List algorithms)
min, max and List of
algorithms.
min - minimum number of keys associated with the domain objectmax - maximum number of keys associated with the domain objectalgorithms - supported algorithms as described in section 2.1.3 of RFC 4034| Method Detail |
|---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryKey instance.
encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element factory.
EPPRegistryKey
instance.
EPPEncodeException - - Unable to encode EPPRegistryKey instance.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRegistryKey attributes from the aElement DOM
Element tree.
decode in interface EPPCodecComponentaElement - Root DOM Element to decode EPPRegistryKey from.
EPPDecodeException - Unable to decode aElement
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryKey.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryKey
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryKey compare.
equals in class java.lang.ObjectaObject - EPPRegistryKey instance to compare with
true 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 java.lang.ObjectString if successful;
ERROR otherwise.public java.lang.Integer getMin()
public void setMin(java.lang.Integer min)
min - minimum number of keys associated with the domain object.public java.lang.Integer getMax()
public void setMax(java.lang.Integer max)
max - maximum number of keys associated with the domain object.public java.util.List getAlgorithms()
List of supported algorithms as dscsribed in section
2.1.3 of RFC 4034public void setAlgorithms(java.util.List algorithms)
algorithms - List of supported algorithms as dscsribed in section
2.1.3 of RFC 4034public void addAlgorithm(java.lang.String altorithm)
altorithm - supported algorithms as dscsribed in section 2.1.3 of RFC 4034public java.lang.String getRootName()
ELM_NAME
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||