Class EPPLowBalancePollThreshold
java.lang.Object
com.verisign.epp.codec.lowbalancepoll.EPPLowBalancePollThreshold
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The EPPLowBalancePollThreshold is the EPPCodecComponent that knows how to
encode and decode Credit Threshold Type elements from/to XML and object
instance.
Title: EPP 1.0 Low Balance
Description: Low Balance Poll Mapping for the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instance of EPPLowBalancePollThresholdEPPLowBalancePollThreshold(String aType, String aCreditThresholdValue) Create a new instance of EPPLowBalancePollThreshold with the given threshold type -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPLowBalancePollThreshold.voidPopulate the data of this instance with the data stored in the given Element of the DOM treeAppend all data from this Low Balance data to the given DOM Documentbooleanimplements a deepEPPLowBalancePollThresholdcompare.Returns the XML namespace associated with theEPPCodecComponent.getType()voidsetCreditThresholdValue(String aCeditThresholdValue) void
-
Field Details
-
FIXED
The constant value for FIXED- See Also:
-
PERCENT
The constant value for PERCENT- See Also:
-
-
Constructor Details
-
EPPLowBalancePollThreshold
public EPPLowBalancePollThreshold()Create a new instance of EPPLowBalancePollThreshold -
EPPLowBalancePollThreshold
Create a new instance of EPPLowBalancePollThreshold with the given threshold type- Parameters:
aType- the type value to use for this instance. Should use one of the static constants defined for this class as a value.aCreditThresholdValue- Credit threshold value (fixed or percentage)
-
-
Method Details
-
encode
Append all data from this Low Balance data to the given DOM Document- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- The DOM Document to append data to- Returns:
- DOM
Elementencoded - 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 deepEPPLowBalancePollThresholdcompare. -
clone
CloneEPPLowBalancePollThreshold.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPLowBalancePollThreshold - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getType
-
setType
-
getCreditThresholdValue
-
setCreditThresholdValue
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-