|
|||||||||
| 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
|
+--com.ibm.dse.services.formsprint.FormsRecordFormat
The FormsRecordFormat class implements the formatting of the data which is sent to the printer by a PrintService.
| Fields inherited from class com.ibm.dse.base.FormatElement |
dataElementName,
name |
| Constructor Summary | |
FormsRecordFormat()
This constructor creates a FormsRecordFormat object. |
|
FormsRecordFormat(java.lang.String aName)
This constructor creates a FormsRecordFormat object. |
|
| Method Summary | |
java.lang.String[] |
extract(java.lang.String aString)
Extracts a String, calls the extract methods for the subelements, and takes the substring in which they are interested. |
java.lang.String |
formatContext(Context aContext)
Formats the elements around a Context, which is passed as a parameter. |
java.lang.String |
formatKeyedCollection(KeyedCollection aKeyedCollection)
Formats the elements around a keyedCollection, which is passed as a parameter. |
java.lang.String |
getFormName()
Returns the compiled form name. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes a FormsRecordFormat object with the Tag attributes. |
void |
setFormName(java.lang.String aFormName)
Sets the compiledFormName attribute |
void |
setPrinterName(java.lang.String aPrinterName)
Sets the printer name. |
DataElement |
unformatContext(java.lang.String aString,
Context aContext)
Unformats the elements around the context, which is passed as a parameter. |
KeyedCollection |
unformatKeyedCollection(java.lang.String aString,
KeyedCollection aKeyedCollection)
Unformats the elements around a keyedCollection, which is passed as a parameter. |
| Methods inherited from class com.ibm.dse.base.RecordFormat |
obtainDataElement,
obtainDataElement,
toString,
toStrings |
| 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 FormsRecordFormat()
public FormsRecordFormat(java.lang.String aName)
throws java.io.IOException
aName - java.lang.String, the value for the name attribute of FormatElement| Method Detail |
public java.lang.String[] extract(java.lang.String aString)
throws DSEInvalidArgumentException
String - aString, a string which contains formated strings
public java.lang.String formatContext(Context aContext)
throws DSEInvalidClassException,
DSEInvalidRequestException,
DSEInvalidArgumentException
aContext - com.ibm.dse.base.Context, the Context to format
public java.lang.String formatKeyedCollection(KeyedCollection aKeyedCollection)
throws DSEInvalidClassException,
DSEInvalidRequestException,
DSEInvalidArgumentException
aKeyedCollection - com.ibm.dse.base.KeyedCollection, the KeyedCollection to formatpublic java.lang.String getFormName()
public java.lang.Object initializeFrom(Tag aTag)
throws java.io.IOException
aTag - com.ibm.dse.base.Tag, the Tagpublic void setFormName(java.lang.String aFormName)
aFormName - java.lang.Stringpublic void setPrinterName(java.lang.String aPrinterName)
aPrinterName - java.lang.String, the value for the printerName attribute
public DataElement unformatContext(java.lang.String aString,
Context aContext)
throws DSEInvalidRequestException,
DSEInvalidArgumentException
aString - java.lang.String, the formated stringaContext - com.ibm.dse.base.Context, the context where the DataElement to update is
public KeyedCollection unformatKeyedCollection(java.lang.String aString,
KeyedCollection aKeyedCollection)
throws DSEInvalidRequestException,
DSEInvalidArgumentException
aString - java.lang.String, the formated stringaKeyedCollection - com.ibm.dse.base.KeyedCollection, the KeyedCollection to update
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||