|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.secdnsext.v11.EPPSecDNSExtInfData
public class EPPSecDNSExtInfData
The EPPSecDNSExtInfData is the EPPCodecComponent that knows how to encode and decode secDNS infData elements from/to XML and object instance.
Title: EPP 1.0 secDNS
Description: secDNS Extension to the EPP SDK
Copyright: Copyright (c) 2010
Company: VeriSign
| Field Summary | |
|---|---|
static java.lang.String |
ELM_MAX_SIG_LIFE
The element tag name for maxSigLife |
static java.lang.String |
ELM_NAME
Element tag name for the infData |
static int |
MAX_MAX_SIG_LIFE
Maximum maxSigLife value |
static int |
MIN_MAX_SIG_LIFE
Minimum maxSigLife value |
static int |
UNSPEC_MAX_SIG_LIFE
Unspecified maxSigLife value |
| Constructor Summary | |
|---|---|
EPPSecDNSExtInfData()
Instantiate a new instance of EPPSecDNSExtInfData. |
|
EPPSecDNSExtInfData(java.util.List aDsData,
java.util.List aKeyData,
int aMaxSigLife)
Creates a new instance of the EPPSecDNSExtInfData with the DS
DATA element. |
|
| Method Summary | |
|---|---|
void |
appendDsData(EPPSecDNSExtDsData aDsData)
Appends to the List of DS Data
EPPSecDNSExtDsData instances. |
void |
appendKeyData(EPPSecDNSExtKeyData aKeyData)
Appends to the List of DS Data
EPPSecDNSExtKeyData instances to create. |
java.lang.Object |
clone()
Clone EPPSecDNSExtInfData. |
void |
decode(org.w3c.dom.Element aElement)
Populate the data of this instance with the data stored in the given Element of the DOM tree |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Append all data from this secDNS create to the given DOM Document |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPSecDNSExtInfData compare. |
java.util.List |
getDsData()
Gets the dsData. |
java.util.List |
getKeyData()
Gets the keyData. |
int |
getMaxSigLife()
Get secDNS:maxSigLife value |
java.lang.String |
getNamespace()
The namespace associated with this secDNS infData. |
boolean |
hasDsData()
Is there dsData contained in EPPSecDNSExtInfData? |
boolean |
hasKeyData()
Is there keyData contained in EPPSecDNSExtInfData? |
boolean |
hasMaxSigLife()
Does secDNS:infData include optional secDNS:maxSigLife? |
void |
setDsData(java.util.List aDsData)
Sets the List of DS Data EPPSecDNSExtDsData
instances. |
void |
setKeyData(java.util.List aKeyData)
Sets the List of DS Data EPPSecDNSExtKeyData
instances to create |
void |
setMaxSigLife(int maxSigLife)
Set secDNS:maxSigLife value |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int UNSPEC_MAX_SIG_LIFE
public static final int MIN_MAX_SIG_LIFE
public static final int MAX_MAX_SIG_LIFE
public static final java.lang.String ELM_MAX_SIG_LIFE
public static final java.lang.String ELM_NAME
| Constructor Detail |
|---|
public EPPSecDNSExtInfData()
EPPSecDNSExtInfData. Set either
dsData or keyData prior to calling encode(Document).
public EPPSecDNSExtInfData(java.util.List aDsData,
java.util.List aKeyData,
int aMaxSigLife)
EPPSecDNSExtInfData with the DS
DATA element.
aDsData - List of DS Data EPPSecDNSExtDsData
instances if using DS Data Interface.aKeyData - List of Key Data EPPSecDNSExtKeyData
instance if using Key Data Interface.aMaxSigLife - Child's preference for the number of seconds after signature
generation when the parent's signature on the DS information
provided by the child will expire. Set to
UNSPEC_MAX_SIG_LIFE if there is no preference.| Method Detail |
|---|
public java.lang.String getNamespace()
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - The DOM Document to append data to
Element
EPPEncodeException - Thrown when errors occur during the encode attempt or if the
instance is invalid.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
decode in interface EPPCodecComponentaElement - The root element of the report fragment of XML
EPPDecodeException - Thrown if any errors occur during decoding.public boolean equals(java.lang.Object aObject)
EPPSecDNSExtInfData compare.
equals in class java.lang.ObjectaObject - EPPSecDNSExtInfData instance to compare with
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPSecDNSExtInfData.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPSecDNSExtInfData
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean hasDsData()
EPPSecDNSExtInfData?
true if list of EPPSecDNSExtDsData is
not null and not empty; false
otherwise.public java.util.List getDsData()
List of dsData EPPSecDNSExtDsData
instances if defined; null otherwise.public void setDsData(java.util.List aDsData)
List of DS Data EPPSecDNSExtDsData
instances.
aDsData - List of EPPSecDNSExtDsData instancespublic void appendDsData(EPPSecDNSExtDsData aDsData)
List of DS Data
EPPSecDNSExtDsData instances.
aDsData - EPPSecDNSExtDsData instancepublic boolean hasKeyData()
EPPSecDNSExtInfData?
true if list of EPPSecDNSExtKeyData is
not null and not empty; false
otherwise.public java.util.List getKeyData()
List of keyData EPPSecDNSExtKeyData
instances if defined; null otherwise.public void setKeyData(java.util.List aKeyData)
List of DS Data EPPSecDNSExtKeyData
instances to create
aKeyData - List of EPPSecDNSExtKeyData instancespublic void appendKeyData(EPPSecDNSExtKeyData aKeyData)
List of DS Data
EPPSecDNSExtKeyData instances to create.
aKeyData - EPPSecDNSExtKeyData instancepublic int getMaxSigLife()
int value representing secDNS:maxSigLifehasMaxSigLife(),
UNSPEC_MAX_SIG_LIFEpublic void setMaxSigLife(int maxSigLife)
maxSigLife - an int value representing secDNS:maxSigLifepublic boolean hasMaxSigLife()
UNSPEC_MAX_SIG_LIFE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||