|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.FormatElement
com.ibm.btt.base.FieldFormat
com.ibm.btt.base.BigDecimalFormat
public class BigDecimalFormat
The BigDecmialFormat class formats a BigDecmial object into a string.
java.math.BigDecimal;
,
Serialized FormField Summary |
---|
Fields inherited from class com.ibm.btt.base.FormatElement |
---|
dataElementName, externalizer, name |
Constructor Summary | |
---|---|
BigDecimalFormat()
This constructor creates a BigDecmialFormat object. |
|
BigDecimalFormat(java.lang.String aName)
This constructor creates a BigDecmialFormat object. |
Method Summary | |
---|---|
java.lang.String |
format(java.math.BigDecimal aValue)
Returns the string representation of the BigDecimal. |
java.lang.String |
formatField(DataField aDataField)
Accesses the value of the DataField and checks that it is a valid BigDecmial. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes a BigDecmialFormat with the aTag attributes. |
java.lang.String |
toString()
Converts the BigDecimalFormat to a String. |
DataField |
unformatField(java.lang.String aString,
DataField aDataField)
Updates the DataField value by interpreting the input string. |
Methods inherited from class com.ibm.btt.base.FieldFormat |
---|
format, format, toStrings, unformat, unformat, unformat |
Methods inherited from class com.ibm.btt.base.FormatElement |
---|
checkIndexes, exceptionInfo, externalizer, extract, getDataElementName, getExternalizer, getName, getTagName, isCacheable, isConstant, isItConstant, isNull, readExternal, readExternal, readObject, reinitialize, removeExternal, rootDecorated, setDataElementName, setExternalizer, setName, setSize, toTags, unformat, writeExternal, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BigDecimalFormat()
public BigDecimalFormat(java.lang.String aName) throws java.io.IOException
aName
- String - A formater name
java.io.IOException
Method Detail |
---|
public java.lang.String format(java.math.BigDecimal aValue)
aValue
- BigDecimal - A BigDecimal
public java.lang.String formatField(DataField aDataField) throws DSEInvalidArgumentException, DSEInvalidClassException
formatField
in class FieldFormat
aDataField
- DataField - A DataField
DSEInvalidArgumentException
DSEInvalidClassException
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException
initializeFrom
in class FormatElement
aTag
- - Configuration parameter
java.io.IOException
- - Throws when a problem occurs in accessing SGML filescom.ibm.dse.base.Tag
public java.lang.String toString()
toString
in class FormatElement
public DataField unformatField(java.lang.String aString, DataField aDataField) throws DSEInvalidArgumentException
unformatField
in class FieldFormat
aString
- String - A String respresentation of a BigDecimalaDataField
- DataField - A given DataField
DSEInvalidArgumentException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |