Project

General

Profile

1 31 jones
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc on Tue Apr 11 19:05:41 AKDT 2000 -->
6
<TITLE>
7
: Class  DBSAXHandler
8
</TITLE>
9
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
10
</HEAD>
11
<BODY BGCOLOR="white">
12
13
<!-- ========== START OF NAVBAR ========== -->
14
<A NAME="navbar_top"><!-- --></A>
15
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
16
<TR>
17
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
18
<A NAME="navbar_top_firstrow"><!-- --></A>
19
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
20
  <TR ALIGN="center" VALIGN="top">
21
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
22
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
23
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
24
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
25
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
26
  </TR>
27
</TABLE>
28
</TD>
29
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
30
</EM>
31
</TD>
32
</TR>
33
34
<TR>
35
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
36
&nbsp;<A HREF="DBSAXElement.html"><B>PREV CLASS</B></A>&nbsp;
37
&nbsp;<A HREF="DBSAXWriter.html"><B>NEXT CLASS</B></A></FONT></TD>
38
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
39
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
40
&nbsp;<A HREF="DBSAXHandler.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
41
</TR>
42
<TR>
43
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
44
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
45
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
46
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
47
</TR>
48
</TABLE>
49
<!-- =========== END OF NAVBAR =========== -->
50
51
<HR>
52
<!-- ======== START OF CLASS DATA ======== -->
53
<H2>
54
Class  DBSAXHandler</H2>
55
<PRE>
56
java.lang.Object
57
  |
58
  +--org.xml.sax.HandlerBase
59
        |
60
        +--oracle.xml.parser.v2.DefaultXMLDocumentHandler
61
              |
62
              +--<B>DBSAXHandler</B>
63
</PRE>
64
<HR>
65
<DL>
66
<DT>public class <B>DBSAXHandler</B><DT>extends oracle.xml.parser.v2.DefaultXMLDocumentHandler</DL>
67
68
<P>
69
A database aware Class implementing callback bethods for the SAX parser to
70
 call when processing the XML stream and generating events
71
<P>
72
<HR>
73
74
<P>
75
<!-- ======== INNER CLASS SUMMARY ======== -->
76
77
78
<!-- =========== FIELD SUMMARY =========== -->
79
80
81
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
82
83
<A NAME="constructor_summary"><!-- --></A>
84
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
85
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
86
<TD COLSPAN=2><FONT SIZE="+2">
87
<B>Constructor Summary</B></FONT></TD>
88
</TR>
89
<TR BGCOLOR="white" CLASS="TableRowColor">
90
<TD><CODE><B><A HREF="DBSAXHandler.html#DBSAXHandler(java.sql.Connection)">DBSAXHandler</A></B>(java.sql.Connection&nbsp;conn)</CODE>
91
92
<BR>
93
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an instance of the handler class</TD>
94
</TR>
95
</TABLE>
96
&nbsp;
97
<!-- ========== METHOD SUMMARY =========== -->
98
99
<A NAME="method_summary"><!-- --></A>
100
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
101
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
102
<TD COLSPAN=2><FONT SIZE="+2">
103
<B>Method Summary</B></FONT></TD>
104
</TR>
105
<TR BGCOLOR="white" CLASS="TableRowColor">
106
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
107
<CODE>&nbsp;void</CODE></FONT></TD>
108
<TD><CODE><B><A HREF="DBSAXHandler.html#characters(char[], int, int)">characters</A></B>(char[]&nbsp;cbuf,
109
           int&nbsp;start,
110
           int&nbsp;len)</CODE>
111
112
<BR>
113
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SAX Handler that is called for each XML text node</TD>
114
</TR>
115
<TR BGCOLOR="white" CLASS="TableRowColor">
116
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
117
<CODE>&nbsp;void</CODE></FONT></TD>
118
<TD><CODE><B><A HREF="DBSAXHandler.html#endElement(oracle.xml.parser.v2.NSName)">endElement</A></B>(oracle.xml.parser.v2.NSName&nbsp;name)</CODE>
119
120
<BR>
121
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SAX Handler that is called at the end of each XML element</TD>
122
</TR>
123
<TR BGCOLOR="white" CLASS="TableRowColor">
124
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125
<CODE>&nbsp;void</CODE></FONT></TD>
126
<TD><CODE><B><A HREF="DBSAXHandler.html#ignorableWhitespace(char[], int, int)">ignorableWhitespace</A></B>(char[]&nbsp;cbuf,
127
                    int&nbsp;start,
128
                    int&nbsp;len)</CODE>
129
130
<BR>
131
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SAX Handler that is called for each XML text node that is Ignorable
132
 white space</TD>
133
</TR>
134
<TR BGCOLOR="white" CLASS="TableRowColor">
135
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136
<CODE>&nbsp;void</CODE></FONT></TD>
137
<TD><CODE><B><A HREF="DBSAXHandler.html#startElement(oracle.xml.parser.v2.NSName, oracle.xml.parser.v2.SAXAttrList)">startElement</A></B>(oracle.xml.parser.v2.NSName&nbsp;name,
138
             oracle.xml.parser.v2.SAXAttrList&nbsp;atts)</CODE>
139
140
<BR>
141
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SAX Handler that is called at the start of each XML element</TD>
142
</TR>
143
</TABLE>
144
&nbsp;<A NAME="methods_inherited_from_class_oracle.xml.parser.v2.DefaultXMLDocumentHandler"><!-- --></A>
145
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
146
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
147
<TD><B>Methods inherited from class oracle.xml.parser.v2.DefaultXMLDocumentHandler</B></TD>
148
</TR>
149
<TR BGCOLOR="white" CLASS="TableRowColor">
150
<TD><CODE>cDATASection,
151
comment,
152
endDoctype,
153
endDocument,
154
endElement,
155
processingInstruction,
156
setDoctype,
157
setDocumentLocator,
158
setError,
159
setHandler,
160
setTextDecl,
161
setXMLDecl,
162
setXMLSchema,
163
startDocument,
164
startElement</CODE></TD>
165
</TR>
166
</TABLE>
167
&nbsp;<A NAME="methods_inherited_from_class_org.xml.sax.HandlerBase"><!-- --></A>
168
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
169
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
170
<TD><B>Methods inherited from class org.xml.sax.HandlerBase</B></TD>
171
</TR>
172
<TR BGCOLOR="white" CLASS="TableRowColor">
173
<TD><CODE>error,
174
fatalError,
175
notationDecl,
176
resolveEntity,
177
unparsedEntityDecl,
178
warning</CODE></TD>
179
</TR>
180
</TABLE>
181
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
182
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
183
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
184
<TD><B>Methods inherited from class java.lang.Object</B></TD>
185
</TR>
186
<TR BGCOLOR="white" CLASS="TableRowColor">
187
<TD><CODE>clone,
188
equals,
189
finalize,
190
getClass,
191
hashCode,
192
notify,
193
notifyAll,
194
toString,
195
wait,
196
wait,
197
wait</CODE></TD>
198
</TR>
199
</TABLE>
200
&nbsp;
201
<P>
202
203
<!-- ============ FIELD DETAIL =========== -->
204
205
206
<!-- ========= CONSTRUCTOR DETAIL ======== -->
207
208
<A NAME="constructor_detail"><!-- --></A>
209
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
210
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
211
<TD COLSPAN=1><FONT SIZE="+2">
212
<B>Constructor Detail</B></FONT></TD>
213
</TR>
214
</TABLE>
215
216
<A NAME="DBSAXHandler(java.sql.Connection)"><!-- --></A><H3>
217
DBSAXHandler</H3>
218
<PRE>
219
public <B>DBSAXHandler</B>(java.sql.Connection&nbsp;conn)</PRE>
220
<DL>
221
<DD>Construct an instance of the handler class<DD><DL>
222
<DT><B>Parameters:</B><DD><CODE>conn</CODE> - the JDBC connection to which information is written</DL>
223
</DD>
224
</DL>
225
226
<!-- ============ METHOD DETAIL ========== -->
227
228
<A NAME="method_detail"><!-- --></A>
229
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
230
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
231
<TD COLSPAN=1><FONT SIZE="+2">
232
<B>Method Detail</B></FONT></TD>
233
</TR>
234
</TABLE>
235
236
<A NAME="startElement(oracle.xml.parser.v2.NSName, oracle.xml.parser.v2.SAXAttrList)"><!-- --></A><H3>
237
startElement</H3>
238
<PRE>
239
public void <B>startElement</B>(oracle.xml.parser.v2.NSName&nbsp;name,
240
                         oracle.xml.parser.v2.SAXAttrList&nbsp;atts)
241
                  throws org.xml.sax.SAXException</PRE>
242
<DL>
243
<DD>SAX Handler that is called at the start of each XML element<DD><DL>
244
<DT><B>Overrides:</B><DD>startElement in class oracle.xml.parser.v2.DefaultXMLDocumentHandler</DL>
245
</DD>
246
</DL>
247
<HR>
248
249
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
250
characters</H3>
251
<PRE>
252
public void <B>characters</B>(char[]&nbsp;cbuf,
253
                       int&nbsp;start,
254
                       int&nbsp;len)</PRE>
255
<DL>
256
<DD>SAX Handler that is called for each XML text node<DD><DL>
257
<DT><B>Overrides:</B><DD>characters in class oracle.xml.parser.v2.DefaultXMLDocumentHandler</DL>
258
</DD>
259
</DL>
260
<HR>
261
262
<A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3>
263
ignorableWhitespace</H3>
264
<PRE>
265
public void <B>ignorableWhitespace</B>(char[]&nbsp;cbuf,
266
                                int&nbsp;start,
267
                                int&nbsp;len)</PRE>
268
<DL>
269
<DD>SAX Handler that is called for each XML text node that is Ignorable
270
 white space<DD><DL>
271
<DT><B>Overrides:</B><DD>ignorableWhitespace in class oracle.xml.parser.v2.DefaultXMLDocumentHandler</DL>
272
</DD>
273
</DL>
274
<HR>
275
276
<A NAME="endElement(oracle.xml.parser.v2.NSName)"><!-- --></A><H3>
277
endElement</H3>
278
<PRE>
279
public void <B>endElement</B>(oracle.xml.parser.v2.NSName&nbsp;name)
280
                throws org.xml.sax.SAXException</PRE>
281
<DL>
282
<DD>SAX Handler that is called at the end of each XML element<DD><DL>
283
<DT><B>Overrides:</B><DD>endElement in class oracle.xml.parser.v2.DefaultXMLDocumentHandler</DL>
284
</DD>
285
</DL>
286
<!-- ========= END OF CLASS DATA ========= -->
287
<HR>
288
289
<!-- ========== START OF NAVBAR ========== -->
290
<A NAME="navbar_bottom"><!-- --></A>
291
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
292
<TR>
293
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
294
<A NAME="navbar_bottom_firstrow"><!-- --></A>
295
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
296
  <TR ALIGN="center" VALIGN="top">
297
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
298
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
299
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
300
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
301
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
302
  </TR>
303
</TABLE>
304
</TD>
305
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
306
</EM>
307
</TD>
308
</TR>
309
310
<TR>
311
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
312
&nbsp;<A HREF="DBSAXElement.html"><B>PREV CLASS</B></A>&nbsp;
313
&nbsp;<A HREF="DBSAXWriter.html"><B>NEXT CLASS</B></A></FONT></TD>
314
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
315
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
316
&nbsp;<A HREF="DBSAXHandler.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
317
</TR>
318
<TR>
319
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
320
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
321
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
322
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
323
</TR>
324
</TABLE>
325
<!-- =========== END OF NAVBAR =========== -->
326
327
<HR>
328
329
</BODY>
330
</HTML>