|
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
public abstract class FieldFormat
This is the abstract parent class for format elements related to simple data fields.
Field Summary |
---|
Fields inherited from class com.ibm.btt.base.FormatElement |
---|
dataElementName, externalizer, name |
Constructor Summary | |
---|---|
FieldFormat()
|
Method Summary | |
---|---|
java.lang.String |
format(Context aContext)
Formats a data field using the supplied context. |
java.lang.String |
format(DataElement aDataElement)
Verifies that the passed DataElement is a DataField instance and then calls the formatField() method. |
abstract java.lang.String |
formatField(DataField aDataElement)
FormatField abstract method. |
Vector |
toStrings()
Returns a visual representation of this format element. |
int |
unformat(int ndxFrom,
int ndxTo,
java.lang.String str,
DataElement aDataElement)
The new unformat methods added to the FormatElement to minimize the instances created during the unfomat process that later will be collected by the garbage collector (GC). |
DataElement |
unformat(java.lang.String aString,
Context aContext)
Unformats using the supplied context. |
DataElement |
unformat(java.lang.String aString,
DataElement aDataElement)
Verifies that the passed DataElement is a DataField instance and then calls the unformatField() method. |
abstract DataField |
unformatField(java.lang.String aString,
DataField aDataField)
UnformatField abstract method. |
Methods inherited from class com.ibm.btt.base.FormatElement |
---|
checkIndexes, exceptionInfo, externalizer, extract, getDataElementName, getExternalizer, getName, getTagName, initializeFrom, isCacheable, isConstant, isItConstant, isNull, readExternal, readExternal, readObject, reinitialize, removeExternal, rootDecorated, setDataElementName, setExternalizer, setName, setSize, toString, toTags, unformat, writeExternal, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FieldFormat()
Method Detail |
---|
public java.lang.String format(Context aContext) throws DSEInvalidClassException, DSEInvalidRequestException, DSEInvalidArgumentException
format
in class FormatElement
aContext
- com.ibm.btt.base.Context
DSEInvalidClassException
DSEInvalidRequestException
DSEInvalidArgumentException
public java.lang.String format(DataElement aDataElement) throws DSEInvalidArgumentException, DSEInvalidClassException
format
in class FormatElement
aDataElement
- DataElement
DSEInvalidArgumentException
DSEInvalidClassException
public abstract java.lang.String formatField(DataField aDataElement) throws DSEInvalidArgumentException, DSEInvalidClassException
DSEInvalidArgumentException
DSEInvalidClassException
public Vector toStrings()
toStrings
in class FormatElement
public DataElement unformat(java.lang.String aString, Context aContext) throws DSEInvalidRequestException, DSEInvalidArgumentException
unformat
in class FormatElement
aString
- java.lang.StringaContext
- com.ibm.btt.base.Context
DSEInvalidRequestException
DSEInvalidArgumentException
public DataElement unformat(java.lang.String aString, DataElement aDataElement) throws DSEInvalidArgumentException
unformat
in class FormatElement
DSEInvalidArgumentException
public abstract DataField unformatField(java.lang.String aString, DataField aDataField) throws DSEInvalidArgumentException
DSEInvalidArgumentException
public int unformat(int ndxFrom, int ndxTo, java.lang.String str, DataElement aDataElement) throws DSEInvalidRequestException, DSEInvalidArgumentException
unformat
in class FormatElement
ndxFrom
- is the initial indexndxTo
- one is the final index
DSEInvalidRequestException
DSEInvalidArgumentException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |