DBA Data[Home] [Help]

PACKAGE: APPS.BIS_VG_PARSER

Source


1 PACKAGE BIS_VG_PARSER AUTHID CURRENT_USER AS
2 /* $Header: BISTPARS.pls 115.7 2002/03/27 08:18:44 pkm ship     $ */
3 
4 --  Copyright (c) 1998 Oracle Corporation, Redwood Shores, CA, USA
5 --  All rights reserved.
6 --
7 --  FILENAME
8 --
9 --      BISTPARS.pls
10 --
11 --  DESCRIPTION
12 --
13 --      Spec of view parser to be used in the view generator
14 --         package specifyling the view security
15 --
16 --  NOTES
17 --
18 --  HISTORY
19 --
20 --  21-JUL-98 Created
21 --  19-MAR-99 Edited by WNASRALL@US for exception handling
22 --  10-DEC-01 Edited by DBOWLES Added db driver comment
23 --
24 -- this function starts looking for the start of any of the strigns
25 -- specified in the string set in the p_view_table beginning from
26 -- the p_start_pointer.
27 -- returns a pointer pointing to the beginning of such a string found
28 -- else null
29 
30 FUNCTION Get_Keyword_Position
31 ( p_view_table    IN bis_vg_types.View_Text_Table_Type
32 , p_string_set    IN bis_vg_types.View_Text_Table_Type
33 , p_start_pointer IN bis_vg_types.View_Character_Pointer_Type
34 , x_return_status       OUT VARCHAR2
35 , x_error_Tbl           OUT BIS_VG_UTIL.Error_Tbl_Type
36 )
37 return bis_vg_types.view_character_pointer_type;
38 
39 -- this functions returns the string between the start position and
40 -- any of the delimiters in the delimiter string
41 -- the end position points beyond the delimiter or is null if end of line
42 
43 FUNCTION get_string_token
44 ( p_view_str         IN  bis_vg_types.View_Text_Table_Rec_Type
45 , p_start            IN  NUMBER
46 , p_delimiter_string IN  VARCHAR2
47 , x_end_pointer      OUT NUMBER
48 , x_return_status       OUT VARCHAR2
49 , x_error_Tbl           OUT BIS_VG_UTIL.Error_Tbl_Type
50 )
51 RETURN VARCHAR2;
52 
53 
54 -- this functions returns the string between the start pointer and
55 -- any of the delimiters in the delimiter string
56 -- the end pointer points at the delimiter
57 
58 FUNCTION get_token
59 ( p_view_table       IN bis_vg_types.View_Text_Table_Type
60 , p_start_pointer    IN  bis_vg_types.View_Character_Pointer_Type
61 , p_delimiter_string IN  VARCHAR2
62 , x_end_pointer      OUT bis_vg_types.View_Character_Pointer_Type
63 , x_return_status       OUT VARCHAR2
64 , x_error_Tbl           OUT BIS_VG_UTIL.Error_Tbl_Type
65 )
66 RETURN VARCHAR2;
67 
68 -- this functions returns the string expression between the start pointer and
69 -- single quote ending the expression. Takes care of nested strings in the
70 -- expression
71 
72 FUNCTION get_expression
73 ( p_view_table       IN bis_vg_types.View_Text_Table_Type
74 , p_start_pointer    IN  bis_vg_types.View_Character_Pointer_Type
75 , x_end_pointer      OUT bis_vg_types.View_Character_Pointer_Type
76 , x_return_status       OUT VARCHAR2
77 , x_error_Tbl           OUT BIS_VG_UTIL.Error_Tbl_Type
78 )
79 RETURN VARCHAR2;
80 
81 -- this functions returns the string between the start pointer and
82 -- any of the delimiters in the delimiter string
83 -- the end pointer points one beyond the delimiter
84 
85 FUNCTION get_token_increment_pointer
86 ( p_view_table       IN bis_vg_types.View_Text_Table_Type
87 , p_start_pointer    IN  bis_vg_types.View_Character_Pointer_Type
88 , p_delimiter_string IN  VARCHAR2
89 , x_end_pointer      OUT bis_vg_types.View_Character_Pointer_Type
90 , x_return_status       OUT VARCHAR2
91 , x_error_Tbl           OUT BIS_VG_UTIL.Error_Tbl_Type
92 )
93 RETURN VARCHAR2;
94 
95 -- skips the type of tag
96 -- returns the tag
97 -- the out pointer is positioned beyond the separator
98 FUNCTION skip_tag
99 ( p_view_table    IN  BIS_VG_TYPES.View_Text_Table_Type
100 , p_start_pointer IN  BIS_VG_TYPES.view_character_pointer_type
101 , X_end_pointer   OUT BIS_VG_TYPES.view_character_pointer_type
102 , x_return_status       OUT VARCHAR2
103 , x_error_Tbl           OUT BIS_VG_UTIL.Error_Tbl_Type
104 )
105 RETURN VARCHAR2;
106 
107 END BIS_VG_PARSER;