Project

General

Profile

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

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 Wed Jun 07 16:35:58 AKDT 2000 -->
6
<TITLE>
7
MetaCat API: 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="class-use/GenericXMLValidate.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
24
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
25
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
26
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
27
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
28
  </TR>
29
</TABLE>
30
</TD>
31
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
32
</EM>
33
</TD>
34
</TR>
35

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

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

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

    
85
<P>
86
<!-- ======== INNER CLASS SUMMARY ======== -->
87

    
88

    
89
<!-- =========== FIELD SUMMARY =========== -->
90

    
91

    
92
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
93

    
94
<A NAME="constructor_summary"><!-- --></A>
95
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
96
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
97
<TD COLSPAN=2><FONT SIZE="+2">
98
<B>Constructor Summary</B></FONT></TD>
99
</TR>
100
<TR BGCOLOR="white" CLASS="TableRowColor">
101
<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>
102

    
103
<BR>
104
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
105
</TR>
106
<TR BGCOLOR="white" CLASS="TableRowColor">
107
<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,
108
                   java.lang.String&nbsp;xmlcatalogfile)</CODE>
109

    
110
<BR>
111
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
112
</TR>
113
</TABLE>
114
&nbsp;
115
<!-- ========== METHOD SUMMARY =========== -->
116

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

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

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

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

    
170
<!-- ============ FIELD DETAIL =========== -->
171

    
172

    
173
<!-- ========= CONSTRUCTOR DETAIL ======== -->
174

    
175
<A NAME="constructor_detail"><!-- --></A>
176
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
177
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
178
<TD COLSPAN=1><FONT SIZE="+2">
179
<B>Constructor Detail</B></FONT></TD>
180
</TR>
181
</TABLE>
182

    
183
<A NAME="GenericXMLValidate(org.xml.sax.Parser)"><!-- --></A><H3>
184
GenericXMLValidate</H3>
185
<PRE>
186
public <B>GenericXMLValidate</B>(org.xml.sax.Parser&nbsp;parse)</PRE>
187
<DL>
188
</DL>
189
<HR>
190

    
191
<A NAME="GenericXMLValidate(org.xml.sax.Parser, java.lang.String)"><!-- --></A><H3>
192
GenericXMLValidate</H3>
193
<PRE>
194
public <B>GenericXMLValidate</B>(org.xml.sax.Parser&nbsp;parse,
195
                          java.lang.String&nbsp;xmlcatalogfile)</PRE>
196
<DL>
197
</DL>
198

    
199
<!-- ============ METHOD DETAIL ========== -->
200

    
201
<A NAME="method_detail"><!-- --></A>
202
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
203
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
204
<TD COLSPAN=1><FONT SIZE="+2">
205
<B>Method Detail</B></FONT></TD>
206
</TR>
207
</TABLE>
208

    
209
<A NAME="validate(java.lang.String)"><!-- --></A><H3>
210
validate</H3>
211
<PRE>
212
public boolean <B>validate</B>(java.lang.String&nbsp;doc)</PRE>
213
<DL>
214
</DL>
215
<HR>
216

    
217
<A NAME="validateString(java.lang.String)"><!-- --></A><H3>
218
validateString</H3>
219
<PRE>
220
public boolean <B>validateString</B>(java.lang.String&nbsp;xmldoc)</PRE>
221
<DL>
222
</DL>
223
<HR>
224

    
225
<A NAME="returnErrors()"><!-- --></A><H3>
226
returnErrors</H3>
227
<PRE>
228
public java.lang.String <B>returnErrors</B>()</PRE>
229
<DL>
230
</DL>
231
<!-- ========= END OF CLASS DATA ========= -->
232
<HR>
233

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

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

    
274
<HR>
275
<i>Copyright ? 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.</i>
276
</BODY>
277
</HTML>