|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.base.FormatElement | +--com.ibm.dse.base.KeyedCollectionFormat | +--com.ibm.dse.base.RecordFormat
This class is an implementation of the KeyedCollectionFormat.
Fields inherited from class com.ibm.dse.base.FormatElement |
dataElementName,
name |
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 this elements and taking the substring in which they are interested. |
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)
Seek for the element which will format aFormatElement. |
protected DataElement |
obtainDataElement(FormatElement aFormatElement,
KeyedCollection aKeyedCollection)
Seek for 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. |
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.dse.base.KeyedCollectionFormat |
add,
addElementAt,
addFirst,
at,
format,
format,
getElements,
getEnumeration,
removeAll,
removeAt,
setElements,
size,
unformat,
unformat |
Methods inherited from class com.ibm.dse.base.FormatElement |
exceptionInfo,
externalizer,
format,
getDataElementName,
getExternalizer,
getName,
getTagName,
isCacheable,
isConstant,
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 RecordFormat()
public RecordFormat(java.lang.String aName) throws java.io.IOException
aString
- java.lang.StringMethod Detail |
public java.lang.String[] extract(java.lang.String aString) throws DSEInvalidArgumentException
String
- aStringpublic java.lang.String formatContext(Context aContext) throws DSEInvalidClassException, DSEInvalidRequestException, DSEInvalidArgumentException
aContext
- com.ibm.dse.base.Contextpublic java.lang.String formatKeyedCollection(KeyedCollection aKeyedCollection) throws DSEInvalidClassException, DSEInvalidRequestException, DSEInvalidArgumentException
aKeyedCollection
- com.ibm.dse.base.KeyedCollectionpublic java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException
aTag
- com.ibm.dse.base.Tagprotected java.lang.Object obtainDataElement(FormatElement aFormatElement, Context aContext) throws DSEInvalidRequestException
aFormatElement
- com.ibm.dse.base.FormatElementaContext
- com.ibm.dse.base.Contextprotected DataElement obtainDataElement(FormatElement aFormatElement, KeyedCollection aKeyedCollection) throws DSEInvalidRequestException
aFormatElement
- com.ibm.dse.base.FormatElementaKeyedCollection
- com.ibm.dse.base.KeyedCollectionpublic java.lang.String toString()
public Vector toStrings()
public DataElement unformatContext(java.lang.String aString, Context aContext) throws DSEInvalidRequestException, DSEInvalidArgumentException
aString
- java.lang.StringaContext
- com.ibm.dse.base.Contextpublic KeyedCollection unformatKeyedCollection(java.lang.String aString, KeyedCollection aKeyedCollection) throws DSEInvalidRequestException, DSEInvalidArgumentException
aString
- java.lang.StringaKeyedCollection
- com.ibm.dse.base.KeyedCollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |