Project

General

Profile

metacat / docs / edu / ucsb / nceas / metacat / GenericXMLValidate.html @ 107

1
<!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 Sat May 20 14:25:42 AKDT 2000 -->
6
<TITLE>
7
: Class  GenericXMLValidate
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="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
22
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
23
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
24
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
25
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
26
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
27
  </TR>
28
</TABLE>
29
</TD>
30
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
31
</EM>
32
</TD>
33
</TR>
34

    
35
<TR>
36
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
37
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBTransform.html"><B>PREV CLASS</B></A>&nbsp;
38
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html"><B>NEXT CLASS</B></A></FONT></TD>
39
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
40
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
41
&nbsp;<A HREF="GenericXMLValidate.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
42
</TR>
43
<TR>
44
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
45
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
46
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
47
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
48
</TR>
49
</TABLE>
50
<!-- =========== END OF NAVBAR =========== -->
51

    
52
<HR>
53
<!-- ======== START OF CLASS DATA ======== -->
54
<H2>
55
<FONT SIZE="-1">
56
edu.ucsb.nceas.metacat</FONT>
57
<BR>
58
Class  GenericXMLValidate</H2>
59
<PRE>
60
java.lang.Object
61
  |
62
  +--<B>edu.ucsb.nceas.metacat.GenericXMLValidate</B>
63
</PRE>
64
<HR>
65
<DL>
66
<DT>public class <B>GenericXMLValidate</B><DT>extends java.lang.Object</DL>
67

    
68
<P>
69
Name: GenericXMLValidate.java
70
       Purpose: A Class that validates XML documents
71
                            This class is designed to be 'parser independent
72
                               i.e. it uses only org.xml.sax classes
73
                            It is tied to SAX 1.0 methods
74
     Copyright: 2000 Regents of the University of California and the
75
                National Center for Ecological Analysis and Synthesis
76
                April 28, 2000
77
<P>
78
<HR>
79

    
80
<P>
81
<!-- ======== INNER CLASS SUMMARY ======== -->
82

    
83

    
84
<!-- =========== FIELD SUMMARY =========== -->
85

    
86

    
87
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
88

    
89
<A NAME="constructor_summary"><!-- --></A>
90
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
91
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
92
<TD COLSPAN=2><FONT SIZE="+2">
93
<B>Constructor Summary</B></FONT></TD>
94
</TR>
95
<TR BGCOLOR="white" CLASS="TableRowColor">
96
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/GenericXMLValidate.html#GenericXMLValidate(org.xml.sax.Parser)">GenericXMLValidate</A></B>(org.xml.sax.Parser&nbsp;parse)</CODE>
97

    
98
<BR>
99
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
100
</TR>
101
<TR BGCOLOR="white" CLASS="TableRowColor">
102
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/GenericXMLValidate.html#GenericXMLValidate(org.xml.sax.Parser, java.lang.String)">GenericXMLValidate</A></B>(org.xml.sax.Parser&nbsp;parse,
103
                   java.lang.String&nbsp;xmlcatalogfile)</CODE>
104

    
105
<BR>
106
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
107
</TR>
108
</TABLE>
109
&nbsp;
110
<!-- ========== METHOD SUMMARY =========== -->
111

    
112
<A NAME="method_summary"><!-- --></A>
113
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
114
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
115
<TD COLSPAN=2><FONT SIZE="+2">
116
<B>Method Summary</B></FONT></TD>
117
</TR>
118
<TR BGCOLOR="white" CLASS="TableRowColor">
119
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
120
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
121
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/GenericXMLValidate.html#returnErrors()">returnErrors</A></B>()</CODE>
122

    
123
<BR>
124
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
125
</TR>
126
<TR BGCOLOR="white" CLASS="TableRowColor">
127
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
128
<CODE>&nbsp;boolean</CODE></FONT></TD>
129
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/GenericXMLValidate.html#validate(java.lang.String)">validate</A></B>(java.lang.String&nbsp;doc)</CODE>
130

    
131
<BR>
132
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
133
</TR>
134
<TR BGCOLOR="white" CLASS="TableRowColor">
135
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136
<CODE>&nbsp;boolean</CODE></FONT></TD>
137
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/GenericXMLValidate.html#validateString(java.lang.String)">validateString</A></B>(java.lang.String&nbsp;xmldoc)</CODE>
138

    
139
<BR>
140
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
141
</TR>
142
</TABLE>
143
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
144
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
145
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
146
<TD><B>Methods inherited from class java.lang.Object</B></TD>
147
</TR>
148
<TR BGCOLOR="white" CLASS="TableRowColor">
149
<TD><CODE>clone, 
150
equals, 
151
finalize, 
152
getClass, 
153
hashCode, 
154
notify, 
155
notifyAll, 
156
toString, 
157
wait, 
158
wait, 
159
wait</CODE></TD>
160
</TR>
161
</TABLE>
162
&nbsp;
163
<P>
164

    
165
<!-- ============ FIELD DETAIL =========== -->
166

    
167

    
168
<!-- ========= CONSTRUCTOR DETAIL ======== -->
169

    
170
<A NAME="constructor_detail"><!-- --></A>
171
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
172
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
173
<TD COLSPAN=1><FONT SIZE="+2">
174
<B>Constructor Detail</B></FONT></TD>
175
</TR>
176
</TABLE>
177

    
178
<A NAME="GenericXMLValidate(org.xml.sax.Parser)"><!-- --></A><H3>
179
GenericXMLValidate</H3>
180
<PRE>
181
public <B>GenericXMLValidate</B>(org.xml.sax.Parser&nbsp;parse)</PRE>
182
<DL>
183
</DL>
184
<HR>
185

    
186
<A NAME="GenericXMLValidate(org.xml.sax.Parser, java.lang.String)"><!-- --></A><H3>
187
GenericXMLValidate</H3>
188
<PRE>
189
public <B>GenericXMLValidate</B>(org.xml.sax.Parser&nbsp;parse,
190
                          java.lang.String&nbsp;xmlcatalogfile)</PRE>
191
<DL>
192
</DL>
193

    
194
<!-- ============ METHOD DETAIL ========== -->
195

    
196
<A NAME="method_detail"><!-- --></A>
197
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
198
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
199
<TD COLSPAN=1><FONT SIZE="+2">
200
<B>Method Detail</B></FONT></TD>
201
</TR>
202
</TABLE>
203

    
204
<A NAME="validate(java.lang.String)"><!-- --></A><H3>
205
validate</H3>
206
<PRE>
207
public boolean <B>validate</B>(java.lang.String&nbsp;doc)</PRE>
208
<DL>
209
</DL>
210
<HR>
211

    
212
<A NAME="validateString(java.lang.String)"><!-- --></A><H3>
213
validateString</H3>
214
<PRE>
215
public boolean <B>validateString</B>(java.lang.String&nbsp;xmldoc)</PRE>
216
<DL>
217
</DL>
218
<HR>
219

    
220
<A NAME="returnErrors()"><!-- --></A><H3>
221
returnErrors</H3>
222
<PRE>
223
public java.lang.String <B>returnErrors</B>()</PRE>
224
<DL>
225
</DL>
226
<!-- ========= END OF CLASS DATA ========= -->
227
<HR>
228

    
229
<!-- ========== START OF NAVBAR ========== -->
230
<A NAME="navbar_bottom"><!-- --></A>
231
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
232
<TR>
233
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
234
<A NAME="navbar_bottom_firstrow"><!-- --></A>
235
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
236
  <TR ALIGN="center" VALIGN="top">
237
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
238
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
239
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
240
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
241
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
242
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
243
  </TR>
244
</TABLE>
245
</TD>
246
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
247
</EM>
248
</TD>
249
</TR>
250

    
251
<TR>
252
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
253
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBTransform.html"><B>PREV CLASS</B></A>&nbsp;
254
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html"><B>NEXT CLASS</B></A></FONT></TD>
255
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
256
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
257
&nbsp;<A HREF="GenericXMLValidate.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
258
</TR>
259
<TR>
260
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
261
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
262
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
263
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
264
</TR>
265
</TABLE>
266
<!-- =========== END OF NAVBAR =========== -->
267

    
268
<HR>
269

    
270
</BODY>
271
</HTML>