Class EPPChangeUpdateAttributes
java.lang.Object
com.verisign.epp.codec.change.type.EPPChangeUpdateAttributes
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Encapsulates an Change:Action attached to a Change:Request.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEPPChangeUpdateAttributes(String priority, String category, String description) EPPChangeUpdateAttributes(String priority, List categories, String description) EPPChangeUpdateAttributes(Element element) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCategory(String category) voidclone()clone anEPPCodecComponent.voidDecode the EPPChangeAction attributes from the DOM Element tree.Encode a DOM Element tree from the attributes of the EPPChangeTld instance.booleanCompare an instance ofEPPChangeUpdateAttributeswith this instanceReturns the XML namespace associated with theEPPCodecComponent.voidsetCategories(List categories) voidsetDescription(String description) voidsetPriority(String priority) toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_NAME
- See Also:
-
-
Constructor Details
-
EPPChangeUpdateAttributes
public EPPChangeUpdateAttributes() -
EPPChangeUpdateAttributes
- Throws:
EPPDecodeException
-
EPPChangeUpdateAttributes
-
EPPChangeUpdateAttributes
-
-
Method Details
-
addCategory
-
clearCategories
public void clearCategories() -
clone
Description copied from interface:EPPCodecComponentclone anEPPCodecComponent.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of concrete
EPPCodecComponent - Throws:
CloneNotSupportedException- standard Object.clone exception
-
decode
Decode the EPPChangeAction attributes from the DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- - Root DOM Element to decode- Throws:
EPPDecodeException- Unable to decode aElementEPPDecodeException- On decoding error
-
encode
Encode a DOM Element tree from the attributes of the EPPChangeTld instance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- - DOM Document that is being built. Used as an Element factory.- Returns:
- Element - Root DOM Element representing the EPPChangeTld instance.
- Throws:
EPPEncodeException- - Unable to encode EPPChangeTld instance.
-
equals
Compare an instance ofEPPChangeUpdateAttributeswith this instance -
getCategories
-
getDescription
-
getPriority
-
setCategories
-
setDescription
-
setPriority
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-