|
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.KeyedCollectionFormat
com.ibm.btt.base.RecordFormat
@ATTR(value="dataName#String#IMPLIED") @EXTEND(value="NOT") public class RecordFormat
This class is an implementation of the KeyedCollectionFormat.
Field Summary |
---|
Fields inherited from class com.ibm.btt.base.KeyedCollectionFormat |
---|
dataElementEmpty, elements |
Fields inherited from class com.ibm.btt.base.FormatElement |
---|
dataElementName, externalizer, name, xmlSupport |
Constructor Summary | |
---|---|
RecordFormat()
RecordFormat default constructor. |
|
RecordFormat(java.lang.String aName)
Constructor used by the externalizer. |
Method Summary | |
---|---|
java.lang.String[] |
extract(java.lang.String aString)
Extract a String calling the extract methods of these elements. |
java.lang.String |
formatContext(Context aContext)
This method performs the format seeking the elements to format around the context tree of the context passed as parameter. |
java.lang.String |
formatKeyedCollection(KeyedCollection aKeyedCollection)
This method performs the format seeking the elements to format around the keyedCollection passed as parameter. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes a RecordFormat with the Tag attributes. |
protected java.lang.Object |
obtainDataElement(FormatElement aFormatElement,
Context aContext)
Seeks the element which will format aFormatElement. |
protected DataElement |
obtainDataElement(FormatElement aFormatElement,
KeyedCollection aKeyedCollection)
Seeks the element which will format aFormatElement. |
java.lang.String |
toString()
Returns a visual representation of this format element. |
Vector |
toStrings()
Returns a visual representation of this format element. |
int |
unformat(int ndxFrom,
int ndxTo,
java.lang.String aString,
Context ctx)
This method performs the unformat seeking the elements to format around the context tree of the ctx passed as parameter. |
int |
unformat(int ndxFrom,
int ndxTo,
java.lang.String aString,
DataElement kc)
This method performs the unformat seeking the elements to format around the kc passed as parameter. |
DataElement |
unformatContext(java.lang.String aString,
Context aContext)
This method performs the unformat seeking the elements to format around the context tree of the context passed as parameter. |
KeyedCollection |
unformatKeyedCollection(java.lang.String aString,
KeyedCollection aKeyedCollection)
This method performs the unformat seeking the elements to format around the keyedCollection passed as parameter. |
Methods inherited from class com.ibm.btt.base.KeyedCollectionFormat |
---|
add, addElementAt, addFirst, at, checkIndexes, format, format, getDataElementEmpty, getElements, getEnumeration, reinitialize, removeAll, removeAt, setElements, size, unformat, unformat |
Methods inherited from class com.ibm.btt.base.FormatElement |
---|
exceptionInfo, externalizer, getAttributeValueForXMLFormat, getDataElementName, getExternalizer, getName, getTagName, isCacheable, isConstant, isItConstant, isNull, readExternal, readExternal, readObject, removeExternal, rootDecorated, setDataElementName, setExternalizer, setName, setSize, toTags, writeExternal, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RecordFormat()
public RecordFormat(java.lang.String aName) throws java.io.IOException
aName
- java.lang.String
java.io.IOException
Method Detail |
---|
public java.lang.String[] extract(java.lang.String aString) throws DSEInvalidArgumentException
extract
in class FormatElement
aString
- String
DSEInvalidArgumentException
public java.lang.String formatContext(Context aContext) throws DSEInvalidClassException, DSEInvalidRequestException, DSEInvalidArgumentException
formatContext
in class KeyedCollectionFormat
aContext
- com.ibm.btt.base.Context
DSEInvalidClassException
DSEInvalidRequestException
DSEInvalidArgumentException
public java.lang.String formatKeyedCollection(KeyedCollection aKeyedCollection) throws DSEInvalidClassException, DSEInvalidRequestException, DSEInvalidArgumentException
formatKeyedCollection
in class KeyedCollectionFormat
aKeyedCollection
- com.ibm.btt.base.KeyedCollection
DSEInvalidClassException
DSEInvalidRequestException
DSEInvalidArgumentException
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException
initializeFrom
in class FormatElement
aTag
- com.ibm.btt.base.Tag
java.io.IOException
protected java.lang.Object obtainDataElement(FormatElement aFormatElement, Context aContext) throws DSEInvalidRequestException
aFormatElement
- com.ibm.btt.base.FormatElementaContext
- com.ibm.btt.base.Context
com.ibm.btt.base.DSEInvalidRequestException.
DSEInvalidRequestException
protected DataElement obtainDataElement(FormatElement aFormatElement, KeyedCollection aKeyedCollection) throws DSEInvalidRequestException
aFormatElement
- com.ibm.btt.base.FormatElementaKeyedCollection
- com.ibm.btt.base.KeyedCollection
DSEInvalidRequestException
public java.lang.String toString()
FormatElement
toString
in class FormatElement
public Vector toStrings()
FormatElement
toStrings
in class FormatElement
public DataElement unformatContext(java.lang.String aString, Context aContext) throws DSEInvalidRequestException, DSEInvalidArgumentException
unformatContext
in class KeyedCollectionFormat
aString
- java.lang.StringaContext
- com.ibm.btt.base.Context
DSEInvalidRequestException
DSEInvalidArgumentException
public KeyedCollection unformatKeyedCollection(java.lang.String aString, KeyedCollection aKeyedCollection) throws DSEInvalidRequestException, DSEInvalidArgumentException
unformatKeyedCollection
in class KeyedCollectionFormat
aString
- java.lang.StringaKeyedCollection
- com.ibm.btt.base.KeyedCollection
DSEInvalidRequestException
DSEInvalidArgumentException
public int unformat(int ndxFrom, int ndxTo, java.lang.String aString, DataElement kc) throws DSEInvalidRequestException, DSEInvalidArgumentException
unformat
in class KeyedCollectionFormat
ndxFrom
- - the initial indexndxTo
- - the final indexaString
- java.lang.Stringkc
- com.ibm.btt.base.KeyedCollection
DSEInvalidRequestException
DSEInvalidArgumentException
public int unformat(int ndxFrom, int ndxTo, java.lang.String aString, Context ctx) throws DSEInvalidRequestException, DSEInvalidArgumentException
unformat
in class KeyedCollectionFormat
ndxFrom
- - the initial indexndxTo
- - the final indexaString
- java.lang.Stringctx
- com.ibm.btt.base.Context
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 |