1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc (build 1.5.0_10) on Tue May 27 15:03:46 NZST 2008 -->
|
---|
6 | <TITLE>
|
---|
7 | GSearchInstaller.IgnoreDTDEntityResolver
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.greenstone.fedora.installer.GSearchInstaller.IgnoreDTDEntityResolver class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="GSearchInstaller.IgnoreDTDEntityResolver";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 | <NOSCRIPT>
|
---|
21 | </NOSCRIPT>
|
---|
22 |
|
---|
23 | </HEAD>
|
---|
24 |
|
---|
25 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
26 |
|
---|
27 |
|
---|
28 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
29 | <A NAME="navbar_top"><!-- --></A>
|
---|
30 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
31 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
32 | <TR>
|
---|
33 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
34 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
35 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
36 | <TR ALIGN="center" VALIGN="top">
|
---|
37 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/greenstone/fedora/installer/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
38 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
43 | </TR>
|
---|
44 | </TABLE>
|
---|
45 | </TD>
|
---|
46 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
47 | </EM>
|
---|
48 | </TD>
|
---|
49 | </TR>
|
---|
50 |
|
---|
51 | <TR>
|
---|
52 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
53 | <A HREF="../../../../org/greenstone/fedora/installer/GSearchInstaller.html" title="class in org.greenstone.fedora.installer"><B>PREV CLASS</B></A>
|
---|
54 | NEXT CLASS</FONT></TD>
|
---|
55 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
56 | <A HREF="../../../../index.html?org/greenstone/fedora/installer/GSearchInstaller.IgnoreDTDEntityResolver.html" target="_top"><B>FRAMES</B></A>
|
---|
57 | <A HREF="GSearchInstaller.IgnoreDTDEntityResolver.html" target="_top"><B>NO FRAMES</B></A>
|
---|
58 | <SCRIPT type="text/javascript">
|
---|
59 | <!--
|
---|
60 | if(window==top) {
|
---|
61 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
62 | }
|
---|
63 | //-->
|
---|
64 | </SCRIPT>
|
---|
65 | <NOSCRIPT>
|
---|
66 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
67 | </NOSCRIPT>
|
---|
68 |
|
---|
69 |
|
---|
70 | </FONT></TD>
|
---|
71 | </TR>
|
---|
72 | <TR>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
75 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
76 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
77 | </TR>
|
---|
78 | </TABLE>
|
---|
79 | <A NAME="skip-navbar_top"></A>
|
---|
80 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
81 |
|
---|
82 | <HR>
|
---|
83 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
84 | <H2>
|
---|
85 | <FONT SIZE="-1">
|
---|
86 | org.greenstone.fedora.installer</FONT>
|
---|
87 | <BR>
|
---|
88 | Class GSearchInstaller.IgnoreDTDEntityResolver</H2>
|
---|
89 | <PRE>
|
---|
90 | java.lang.Object
|
---|
91 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.greenstone.fedora.installer.GSearchInstaller.IgnoreDTDEntityResolver</B>
|
---|
92 | </PRE>
|
---|
93 | <DL>
|
---|
94 | <DT><B>All Implemented Interfaces:</B> <DD>org.xml.sax.EntityResolver</DD>
|
---|
95 | </DL>
|
---|
96 | <DL>
|
---|
97 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/greenstone/fedora/installer/GSearchInstaller.html" title="class in org.greenstone.fedora.installer">GSearchInstaller</A></DD>
|
---|
98 | </DL>
|
---|
99 | <HR>
|
---|
100 | <DL>
|
---|
101 | <DT><PRE>static class <B>GSearchInstaller.IgnoreDTDEntityResolver</B><DT>extends java.lang.Object<DT>implements org.xml.sax.EntityResolver</DL>
|
---|
102 | </PRE>
|
---|
103 |
|
---|
104 | <P>
|
---|
105 | This EntityResolver allows the XML parser to ignore validating
|
---|
106 | against the DTD specified in the XML since it is pointing to the
|
---|
107 | wrong location. After parsing, we will put the DTD back in.
|
---|
108 | (Package class, only used here.)
|
---|
109 | See http://forum.java.sun.com/thread.jspa?threadID=284209&forumID=34
|
---|
110 | <P>
|
---|
111 |
|
---|
112 | <P>
|
---|
113 | <HR>
|
---|
114 |
|
---|
115 | <P>
|
---|
116 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
117 |
|
---|
118 | <A NAME="field_summary"><!-- --></A>
|
---|
119 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
120 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
121 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
---|
122 | <B>Field Summary</B></FONT></TH>
|
---|
123 | </TR>
|
---|
124 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
125 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
126 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
127 | <TD><CODE><B><A HREF="../../../../org/greenstone/fedora/installer/GSearchInstaller.IgnoreDTDEntityResolver.html#systemID">systemID</A></B></CODE>
|
---|
128 |
|
---|
129 | <BR>
|
---|
130 | </TD>
|
---|
131 | </TR>
|
---|
132 | </TABLE>
|
---|
133 |
|
---|
134 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
135 |
|
---|
136 | <A NAME="constructor_summary"><!-- --></A>
|
---|
137 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
138 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
139 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
---|
140 | <B>Constructor Summary</B></FONT></TH>
|
---|
141 | </TR>
|
---|
142 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
143 | <TD><CODE><B><A HREF="../../../../org/greenstone/fedora/installer/GSearchInstaller.IgnoreDTDEntityResolver.html#GSearchInstaller.IgnoreDTDEntityResolver(java.lang.String)">GSearchInstaller.IgnoreDTDEntityResolver</A></B>(java.lang.String systemID)</CODE>
|
---|
144 |
|
---|
145 | <BR>
|
---|
146 | Constructor that 'resolves' (by ignoring) DTDs for the given
|
---|
147 | systemID.</TD>
|
---|
148 | </TR>
|
---|
149 | </TABLE>
|
---|
150 |
|
---|
151 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
152 |
|
---|
153 | <A NAME="method_summary"><!-- --></A>
|
---|
154 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
155 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
156 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
---|
157 | <B>Method Summary</B></FONT></TH>
|
---|
158 | </TR>
|
---|
159 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
160 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
161 | <CODE> org.xml.sax.InputSource</CODE></FONT></TD>
|
---|
162 | <TD><CODE><B><A HREF="../../../../org/greenstone/fedora/installer/GSearchInstaller.IgnoreDTDEntityResolver.html#resolveEntity(java.lang.String, java.lang.String)">resolveEntity</A></B>(java.lang.String publicId,
|
---|
163 | java.lang.String systemId)</CODE>
|
---|
164 |
|
---|
165 | <BR>
|
---|
166 | If the systemId matches the one this IgnoreDTDEntityResolver
|
---|
167 | was created for, then the specified DTD is skipped.</TD>
|
---|
168 | </TR>
|
---|
169 | </TABLE>
|
---|
170 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
171 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
172 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
173 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
---|
174 | </TR>
|
---|
175 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
176 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
177 | </TR>
|
---|
178 | </TABLE>
|
---|
179 |
|
---|
180 | <P>
|
---|
181 |
|
---|
182 | <!-- ============ FIELD DETAIL =========== -->
|
---|
183 |
|
---|
184 | <A NAME="field_detail"><!-- --></A>
|
---|
185 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
186 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
187 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
---|
188 | <B>Field Detail</B></FONT></TH>
|
---|
189 | </TR>
|
---|
190 | </TABLE>
|
---|
191 |
|
---|
192 | <A NAME="systemID"><!-- --></A><H3>
|
---|
193 | systemID</H3>
|
---|
194 | <PRE>
|
---|
195 | public final java.lang.String <B>systemID</B></PRE>
|
---|
196 | <DL>
|
---|
197 | <DL>
|
---|
198 | </DL>
|
---|
199 | </DL>
|
---|
200 |
|
---|
201 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
202 |
|
---|
203 | <A NAME="constructor_detail"><!-- --></A>
|
---|
204 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
205 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
206 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
---|
207 | <B>Constructor Detail</B></FONT></TH>
|
---|
208 | </TR>
|
---|
209 | </TABLE>
|
---|
210 |
|
---|
211 | <A NAME="GSearchInstaller.IgnoreDTDEntityResolver(java.lang.String)"><!-- --></A><H3>
|
---|
212 | GSearchInstaller.IgnoreDTDEntityResolver</H3>
|
---|
213 | <PRE>
|
---|
214 | public <B>GSearchInstaller.IgnoreDTDEntityResolver</B>(java.lang.String systemID)</PRE>
|
---|
215 | <DL>
|
---|
216 | <DD>Constructor that 'resolves' (by ignoring) DTDs for the given
|
---|
217 | systemID.
|
---|
218 | <P>
|
---|
219 | <DL>
|
---|
220 | <DT><B>Parameters:</B><DD><CODE>systemID</CODE> - is the DTD path to be ignored, given
|
---|
221 | in the XML file as a SYSTEM property.</DL>
|
---|
222 | </DL>
|
---|
223 |
|
---|
224 | <!-- ============ METHOD DETAIL ========== -->
|
---|
225 |
|
---|
226 | <A NAME="method_detail"><!-- --></A>
|
---|
227 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
228 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
229 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
---|
230 | <B>Method Detail</B></FONT></TH>
|
---|
231 | </TR>
|
---|
232 | </TABLE>
|
---|
233 |
|
---|
234 | <A NAME="resolveEntity(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
---|
235 | resolveEntity</H3>
|
---|
236 | <PRE>
|
---|
237 | public org.xml.sax.InputSource <B>resolveEntity</B>(java.lang.String publicId,
|
---|
238 | java.lang.String systemId)
|
---|
239 | throws org.xml.sax.SAXException,
|
---|
240 | java.io.IOException</PRE>
|
---|
241 | <DL>
|
---|
242 | <DD>If the systemId matches the one this IgnoreDTDEntityResolver
|
---|
243 | was created for, then the specified DTD is skipped.
|
---|
244 | <P>
|
---|
245 | <DD><DL>
|
---|
246 | <DT><B>Specified by:</B><DD><CODE>resolveEntity</CODE> in interface <CODE>org.xml.sax.EntityResolver</CODE></DL>
|
---|
247 | </DD>
|
---|
248 | <DD><DL>
|
---|
249 | <DT><B>Parameters:</B><DD><CODE>publicId</CODE> - the public ID in the DOCTYPE (not used here).<DD><CODE>systemId</CODE> - is the SYSTEM id in the DOCTYPE that specifies
|
---|
250 | the DTD which is to be checked against this
|
---|
251 | IgnoreDTDEntityResolver object's systemID.
|
---|
252 | <DT><B>Throws:</B>
|
---|
253 | <DD><CODE>org.xml.sax.SAXException</CODE>
|
---|
254 | <DD><CODE>java.io.IOException</CODE></DL>
|
---|
255 | </DD>
|
---|
256 | </DL>
|
---|
257 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
258 | <HR>
|
---|
259 |
|
---|
260 |
|
---|
261 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
262 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
263 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
264 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
265 | <TR>
|
---|
266 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
267 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
268 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
269 | <TR ALIGN="center" VALIGN="top">
|
---|
270 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/greenstone/fedora/installer/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
271 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
272 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
273 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
274 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
275 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
276 | </TR>
|
---|
277 | </TABLE>
|
---|
278 | </TD>
|
---|
279 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
280 | </EM>
|
---|
281 | </TD>
|
---|
282 | </TR>
|
---|
283 |
|
---|
284 | <TR>
|
---|
285 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
286 | <A HREF="../../../../org/greenstone/fedora/installer/GSearchInstaller.html" title="class in org.greenstone.fedora.installer"><B>PREV CLASS</B></A>
|
---|
287 | NEXT CLASS</FONT></TD>
|
---|
288 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
289 | <A HREF="../../../../index.html?org/greenstone/fedora/installer/GSearchInstaller.IgnoreDTDEntityResolver.html" target="_top"><B>FRAMES</B></A>
|
---|
290 | <A HREF="GSearchInstaller.IgnoreDTDEntityResolver.html" target="_top"><B>NO FRAMES</B></A>
|
---|
291 | <SCRIPT type="text/javascript">
|
---|
292 | <!--
|
---|
293 | if(window==top) {
|
---|
294 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
295 | }
|
---|
296 | //-->
|
---|
297 | </SCRIPT>
|
---|
298 | <NOSCRIPT>
|
---|
299 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
300 | </NOSCRIPT>
|
---|
301 |
|
---|
302 |
|
---|
303 | </FONT></TD>
|
---|
304 | </TR>
|
---|
305 | <TR>
|
---|
306 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
307 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
308 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
309 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
310 | </TR>
|
---|
311 | </TABLE>
|
---|
312 | <A NAME="skip-navbar_bottom"></A>
|
---|
313 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
314 |
|
---|
315 | <HR>
|
---|
316 |
|
---|
317 | </BODY>
|
---|
318 | </HTML>
|
---|