|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.secdnsext.v10.EPPSecDNSExtUpdate
public class EPPSecDNSExtUpdate
The EPPSecDNSExtUpdate is the EPPCodecComponent that knows how to encode and decode secDNS update elements from/to XML and object instance.
Title: EPP 1.0 secDNS
Description: secDNS Extension to the EPP SDK
Copyright: Copyright (c) 2006
Company: VeriSign
| Field Summary | |
|---|---|
static java.lang.String |
ADD_ELM_NAME
Element tag name for the add |
static java.lang.String |
CHG_ELM_NAME
Element tag name for the chg |
static java.lang.String |
ELM_NAME
Element tag name for the update |
static java.lang.String |
REM_ELM_NAME
Element tag name for the rem |
| Constructor Summary | |
|---|---|
EPPSecDNSExtUpdate()
Instantiate a new instance of EPPSecDNSExtUpdate |
|
EPPSecDNSExtUpdate(java.util.List addDsData,
java.util.List chgDsData,
java.util.List remKeyTag)
Creates a new instance of the EPPSecDNSExtUpdate
with the add, chg, and rem elements. |
|
| Method Summary | |
|---|---|
void |
appendAdd(EPPSecDNSExtDsData dsData)
Add/Append to the List of DS Data EPPSecDNSExtDsData instances to add |
void |
appendChg(EPPSecDNSExtDsData dsData)
Add/Append to the List of DS Data EPPSecDNSExtDsData instances to chg |
void |
appendRem(EPPSecDNSExtDsData dsData)
Add/Append to the List of DS keyTag Integer instances specifying keyTag to rem. |
void |
appendRem(int keyTag)
Add/Append to the List of DS keyTag Integer instances specifying keyTag to rem |
void |
appendRem(java.lang.Integer keyTag)
Add/Append to the List of DS keyTag Integer instances specifying keyTag to rem |
java.lang.Object |
clone()
Clone EPPSecDNSExtUpdate. |
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 update to the given DOM Document |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPSecDNSExtUpdate compare. |
java.util.List |
getAdd()
Get the List of DS Data EPPSecDNSExtDsData instances to add |
java.util.List |
getChg()
Get the List of DS Data EPPSecDNSExtDsData instances to chg |
java.lang.String |
getNamespace()
The namespace associated with this secDNS update. |
java.util.List |
getRem()
Get the List of DS keyTag Integer instances specifying keyTag to rem |
boolean |
isUrgent()
Is the update request urgent? |
void |
setAdd(java.util.List addDsData)
Set the List of DS Data EPPSecDNSExtDsData instances to add |
void |
setChg(java.util.List chgDsData)
Set the List of DS Data EPPSecDNSExtDsData instances to chg |
void |
setRem(java.util.List remKeyTag)
Set the List of DS keyTag Integer instances specifying keyTag to rem |
void |
setUrgent(boolean urgent)
Sets the urgent attribute. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELM_NAME
public static final java.lang.String ADD_ELM_NAME
public static final java.lang.String CHG_ELM_NAME
public static final java.lang.String REM_ELM_NAME
| Constructor Detail |
|---|
public EPPSecDNSExtUpdate()
public EPPSecDNSExtUpdate(java.util.List addDsData,
java.util.List chgDsData,
java.util.List remKeyTag)
EPPSecDNSExtUpdate
with the add, chg, and rem elements.
addDsData - List of DS Data EPPSecDNSExtDsData instances to addchgDsData - List of DS Data EPPSecDNSExtDsData instances to chgremKeyTag - List of DS keyTag Integer instances specifying keyTag to rem| 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)
EPPSecDNSExtUpdate compare.
equals in class java.lang.ObjectaObject - EPPSecDNSExtUpdate instance to compare with
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPSecDNSExtUpdate.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPSecDNSExtUpdate
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.util.List getAdd()
List of DS Data EPPSecDNSExtDsData instances to add
List of EPPSecDNSExtDsData instancespublic void setAdd(java.util.List addDsData)
List of DS Data EPPSecDNSExtDsData instances to add
addDsData - List of EPPSecDNSExtDsData instancespublic void appendAdd(EPPSecDNSExtDsData dsData)
List of DS Data EPPSecDNSExtDsData instances to add
dsData - EPPSecDNSExtDsData instancepublic java.util.List getChg()
List of DS Data EPPSecDNSExtDsData instances to chg
List of EPPSecDNSExtDsData instancespublic void setChg(java.util.List chgDsData)
List of DS Data EPPSecDNSExtDsData instances to chg
chgDsData - List of EPPSecDNSExtDsData instancespublic void appendChg(EPPSecDNSExtDsData dsData)
List of DS Data EPPSecDNSExtDsData instances to chg
dsData - EPPSecDNSExtDsData instancepublic java.util.List getRem()
List of DS keyTag Integer instances specifying keyTag to rem
List of Integer instances specifying keyTag to rempublic void setRem(java.util.List remKeyTag)
List of DS keyTag Integer instances specifying keyTag to rem
remKeyTag - List of Integer instances specifying keyTag to rempublic void appendRem(java.lang.Integer keyTag)
List of DS keyTag Integer instances specifying keyTag to rem
keyTag - an Integer instance representing secDNS:keyTagpublic void appendRem(int keyTag)
List of DS keyTag Integer instances specifying keyTag to rem
keyTag - an int value representing secDNS:keyTagpublic void appendRem(EPPSecDNSExtDsData dsData)
List of DS keyTag Integer instances specifying keyTag to rem.
This convenience method will extract the secDNS:keyTag element from the EPPSecDNSExtDsData provided.
dsData - EPPSecDNSExtDsData instance specifying keyTag to rempublic boolean isUrgent()
true if the client has asked the server operator to process
the update command with a high priority; false otherwise.public void setUrgent(boolean urgent)
urgent - The urgent value to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||