public class EPPFeeCheck extends java.lang.Object implements EPPCodecComponent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPFeeCheck. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPFeeCheck. |
| Constructor and Description |
|---|
EPPFeeCheck()
Default constructor for
EPPFeeCheck. |
EPPFeeCheck(java.util.List<EPPFeeObject> aObjects)
Constructor for
EPPFeeCheck that takes the list of domains
to check. |
| Modifier and Type | Method and Description |
|---|---|
void |
addObject(EPPFeeObject aObject)
Adds an object to the list of objects to check the fee.
|
java.lang.Object |
clone()
Clone an
EPPCodecComponent instance. |
void |
decode(org.w3c.dom.Element aElement)
Decode a DOM element tree to initialize the instance attributes.
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode instance into a DOM element tree.
|
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPFeeCheck with this instance. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
java.util.List<EPPFeeObject> |
getObjects()
Gets the list of objects to check.
|
void |
setObjects(java.util.List<EPPFeeObject> aObjects)
Sets the list of objects to check.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
public static final java.lang.String ELM_LOCALNAME
EPPFeeCheck.public static final java.lang.String ELM_NAME
EPPFeeCheck.public EPPFeeCheck()
EPPFeeCheck.public EPPFeeCheck(java.util.List<EPPFeeObject> aObjects)
EPPFeeCheck that takes the list of domains
to check.aObjects - A list of EPPFeeObject objects to check.public void addObject(EPPFeeObject aObject)
aObject - Object to add.public java.util.List<EPPFeeObject> getObjects()
EPPFeeObject instances. The list should never be
null.public void setObjects(java.util.List<EPPFeeObject> aObjects)
aObjects - List of EPPFeeObject instances to check.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - DOM Document, which acts is an Element factoryEPPEncodeException - Error encoding EPPFeeCheckpublic void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
aElement argument represents the root DOM element and is
used to traverse the DOM nodes for instance attribute values.decode in interface EPPCodecComponentaElement - Element to decodeEPPDecodeException - Error decoding Elementpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPCodecComponent instance.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPFeeCheckjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic 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 boolean equals(java.lang.Object aObject)
EPPFeeCheck with this instance.equals in class java.lang.ObjectaObject - Object to compare with.true if equal; false otherwise.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.