8
The owa_text Package 8-1
8
The owa_text Package
The owa_text package contains subprograms used by owa_pattern for manipulating strings. They are externalized so you can use them directly.
8.1 Summary
owa_text.add2multi procedure - adds text to an existing multi_line type.
owa_text.multi_line data type - data type for holding large amounts of text.
owa_text.new_row_list - creates a new row_list.
owa_text.print_multi procedure - prints out the contents of a multi_list.
owa_text.print_row_list procedure - prints out the contents of a row_list.
owa_text.row_list data type - data type for holding data to be processed.
owa_text.stream2multi procedure - converts a varchar2 to a multi_line type.
owa_text.vc_arr data type - data type for holding large amounts of text.
8.2 owa_text.add2multi procedure
This procedure adds content to an existing owa_text.multi_line data type
. Table 8–1
describes the properties of the owa_text.add2multi procedure.
Table 8–1 owa_text.add2multi procedure
Properties Definitions
Syntax: owa_text.add2multi
stream in
varchar2 mline
in out multi_line
continue in
boolean DEFAULT TRUE;
Parameters: stream - the text to add.
mline - the owa_text.multi_line data type
. The output of this parameter contains stream.
continue - if TRUE, the procedure appends stream within the previous final row assuming it is less than 32K. If FALSE, the procedure places stream in a new row.
Returns: None.
8-2 Oracle Fusion Middleware PLSQL Web Toolkit Reference
8.3 owa_text.multi_line data type
This data type is a PLSQL record that holds large amounts of text. The rows field, of type
owa_text.vc_arr data type , contains the text data in the record.
Table 8–2 describes the properties of the owa_text.multi_line data type.
8.4 owa_text.new_row_list
This function or procedure creates a new owa_text.row_list data type
. The function version uses no parameters and returns a new empty row_list. The procedure version
creates the row_list data type as an output parameter. Table 8–3
describes the properties of the owa_text.new_row_list.
8.5 owa_text.print_multi procedure
This procedure uses htp.print, htp.prn
to print the rows field of the owa_text.multi_
line data type .
Table 8–4 describes the properties of the owa_text.print_multi procedure.
8.6 owa_text.print_row_list procedure