Class EPPSecDNSExtUpdate
java.lang.Object
com.verisign.epp.codec.secdnsext.v10.EPPSecDNSExtUpdate
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
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
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstantiate a new instance of EPPSecDNSExtUpdateEPPSecDNSExtUpdate(List addDsData, List chgDsData, List remKeyTag) Creates a new instance of theEPPSecDNSExtUpdatewith the add, chg, and rem elements. -
Method Summary
Modifier and TypeMethodDescriptionvoidappendAdd(EPPSecDNSExtDsData dsData) Add/Append to theListof DS DataEPPSecDNSExtDsDatainstances to addvoidappendChg(EPPSecDNSExtDsData dsData) Add/Append to theListof DS DataEPPSecDNSExtDsDatainstances to chgvoidappendRem(int keyTag) Add/Append to theListof DS keyTagIntegerinstances specifying keyTag to remvoidappendRem(EPPSecDNSExtDsData dsData) Add/Append to theListof DS keyTagIntegerinstances specifying keyTag to rem.voidAdd/Append to theListof DS keyTagIntegerinstances specifying keyTag to remclone()CloneEPPSecDNSExtUpdate.voidPopulate the data of this instance with the data stored in the given Element of the DOM treeAppend all data from this secDNS update to the given DOM Documentbooleanimplements a deepEPPSecDNSExtUpdatecompare.getAdd()Get theListof DS DataEPPSecDNSExtDsDatainstances to addgetChg()Get theListof DS DataEPPSecDNSExtDsDatainstances to chgThe namespace associated with this secDNS update.getRem()Get theListof DS keyTagIntegerinstances specifying keyTag to rembooleanisUrgent()Is the update request urgent?voidSet theListof DS DataEPPSecDNSExtDsDatainstances to addvoidSet theListof DS DataEPPSecDNSExtDsDatainstances to chgvoidSet theListof DS keyTagIntegerinstances specifying keyTag to remvoidsetUrgent(boolean urgent) Sets the urgent attribute.
-
Field Details
-
ELM_NAME
Element tag name for the update- See Also:
-
ADD_ELM_NAME
Element tag name for the add- See Also:
-
CHG_ELM_NAME
Element tag name for the chg- See Also:
-
REM_ELM_NAME
Element tag name for the rem- See Also:
-
-
Constructor Details
-
EPPSecDNSExtUpdate
public EPPSecDNSExtUpdate()Instantiate a new instance of EPPSecDNSExtUpdate -
EPPSecDNSExtUpdate
Creates a new instance of theEPPSecDNSExtUpdatewith the add, chg, and rem elements.- Parameters:
addDsData-Listof DS DataEPPSecDNSExtDsDatainstances to addchgDsData-Listof DS DataEPPSecDNSExtDsDatainstances to chgremKeyTag-Listof DS keyTagIntegerinstances specifying keyTag to rem
-
-
Method Details
-
getNamespace
The namespace associated with this secDNS update.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- The namespace associated with secDNS component
-
encode
Append all data from this secDNS update to the given DOM Document- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- The DOM Document to append data to- Returns:
- Encoded DOM
Element - Throws:
EPPEncodeException- Thrown when errors occur during the encode attempt or if the instance is invalid.
-
decode
Populate the data of this instance with the data stored in the given Element of the DOM tree- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- The root element of the report fragment of XML- Throws:
EPPDecodeException- Thrown if any errors occur during decoding.
-
equals
implements a deepEPPSecDNSExtUpdatecompare. -
clone
CloneEPPSecDNSExtUpdate.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPSecDNSExtUpdate - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getAdd
Get theListof DS DataEPPSecDNSExtDsDatainstances to add- Returns:
ListofEPPSecDNSExtDsDatainstances
-
setAdd
Set theListof DS DataEPPSecDNSExtDsDatainstances to add- Parameters:
addDsData-ListofEPPSecDNSExtDsDatainstances
-
appendAdd
Add/Append to theListof DS DataEPPSecDNSExtDsDatainstances to add- Parameters:
dsData-EPPSecDNSExtDsDatainstance
-
getChg
Get theListof DS DataEPPSecDNSExtDsDatainstances to chg- Returns:
ListofEPPSecDNSExtDsDatainstances
-
setChg
Set theListof DS DataEPPSecDNSExtDsDatainstances to chg- Parameters:
chgDsData-ListofEPPSecDNSExtDsDatainstances
-
appendChg
Add/Append to theListof DS DataEPPSecDNSExtDsDatainstances to chg- Parameters:
dsData-EPPSecDNSExtDsDatainstance
-
getRem
Get theListof DS keyTagIntegerinstances specifying keyTag to rem- Returns:
ListofIntegerinstances specifying keyTag to rem
-
setRem
Set theListof DS keyTagIntegerinstances specifying keyTag to rem- Parameters:
remKeyTag-ListofIntegerinstances specifying keyTag to rem
-
appendRem
Add/Append to theListof DS keyTagIntegerinstances specifying keyTag to rem- Parameters:
keyTag- anIntegerinstance representing secDNS:keyTag
-
appendRem
public void appendRem(int keyTag) Add/Append to theListof DS keyTagIntegerinstances specifying keyTag to rem- Parameters:
keyTag- anintvalue representing secDNS:keyTag
-
appendRem
Add/Append to theListof DS keyTagIntegerinstances specifying keyTag to rem. This convenience method will extract the secDNS:keyTag element from theEPPSecDNSExtDsDataprovided.- Parameters:
dsData-EPPSecDNSExtDsDatainstance specifying keyTag to rem
-
isUrgent
public boolean isUrgent()Is the update request urgent?- Returns:
- Returns
trueif the client has asked the server operator to process the update command with a high priority;falseotherwise.
-
setUrgent
public void setUrgent(boolean urgent) Sets the urgent attribute.- Parameters:
urgent- The urgent value to set.
-