[7588] | 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.6.0_24) on Mon Jun 25 15:26:26 EDT 2012 --> |
---|
| 6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
| 7 | <TITLE> |
---|
| 8 | SystemIdResolver (Solr 4.0.0-ALPHA API) |
---|
| 9 | </TITLE> |
---|
| 10 | |
---|
| 11 | <META NAME="date" CONTENT="2012-06-25"> |
---|
| 12 | |
---|
| 13 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
---|
| 14 | |
---|
| 15 | <SCRIPT type="text/javascript"> |
---|
| 16 | function windowTitle() |
---|
| 17 | { |
---|
| 18 | if (location.href.indexOf('is-external=true') == -1) { |
---|
| 19 | parent.document.title="SystemIdResolver (Solr 4.0.0-ALPHA API)"; |
---|
| 20 | } |
---|
| 21 | } |
---|
| 22 | </SCRIPT> |
---|
| 23 | <NOSCRIPT> |
---|
| 24 | </NOSCRIPT> |
---|
| 25 | |
---|
| 26 | </HEAD> |
---|
| 27 | |
---|
| 28 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
| 29 | <HR> |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
| 33 | <A NAME="navbar_top"><!-- --></A> |
---|
| 34 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
| 35 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 36 | <TR> |
---|
| 37 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 38 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
| 39 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 40 | <TR ALIGN="center" VALIGN="top"> |
---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 43 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SystemIdResolver.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 48 | </TR> |
---|
| 49 | </TABLE> |
---|
| 50 | </TD> |
---|
| 51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 52 | </EM> |
---|
| 53 | </TD> |
---|
| 54 | </TR> |
---|
| 55 | |
---|
| 56 | <TR> |
---|
| 57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 58 | <A HREF="../../../../org/apache/solr/util/SuggestMissingFactories.html" title="class in org.apache.solr.util"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../org/apache/solr/util/TimeZoneUtils.html" title="class in org.apache.solr.util"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../index.html?org/apache/solr/util/SystemIdResolver.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="SystemIdResolver.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 63 | <SCRIPT type="text/javascript"> |
---|
| 64 | <!-- |
---|
| 65 | if(window==top) { |
---|
| 66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 67 | } |
---|
| 68 | //--> |
---|
| 69 | </SCRIPT> |
---|
| 70 | <NOSCRIPT> |
---|
| 71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 72 | </NOSCRIPT> |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | </FONT></TD> |
---|
| 76 | </TR> |
---|
| 77 | <TR> |
---|
| 78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 79 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 81 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 82 | </TR> |
---|
| 83 | </TABLE> |
---|
| 84 | <A NAME="skip-navbar_top"></A> |
---|
| 85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
| 86 | |
---|
| 87 | <HR> |
---|
| 88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
| 89 | <H2> |
---|
| 90 | <FONT SIZE="-1"> |
---|
| 91 | org.apache.solr.util</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class SystemIdResolver</H2> |
---|
| 94 | <PRE> |
---|
| 95 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
| 96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.util.SystemIdResolver</B> |
---|
| 97 | </PRE> |
---|
| 98 | <DL> |
---|
| 99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/EntityResolver.html?is-external=true" title="class or interface in org.xml.sax">EntityResolver</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ext/EntityResolver2.html?is-external=true" title="class or interface in org.xml.sax.ext">EntityResolver2</A></DD> |
---|
| 100 | </DL> |
---|
| 101 | <HR> |
---|
| 102 | <DL> |
---|
| 103 | <DT><PRE>public final class <B>SystemIdResolver</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/EntityResolver.html?is-external=true" title="class or interface in org.xml.sax">EntityResolver</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ext/EntityResolver2.html?is-external=true" title="class or interface in org.xml.sax.ext">EntityResolver2</A></DL> |
---|
| 104 | </PRE> |
---|
| 105 | |
---|
| 106 | <P> |
---|
| 107 | This is a helper class to support resolving of XIncludes or other hrefs |
---|
| 108 | inside XML files on top of a <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//analyzers-common/org/apache/lucene/analysis/util/ResourceLoader.html?is-external=true" title="class or interface in org.apache.lucene.analysis.util"><CODE>ResourceLoader</CODE></A>. Just plug this class |
---|
| 109 | on top of a <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//analyzers-common/org/apache/lucene/analysis/util/ResourceLoader.html?is-external=true" title="class or interface in org.apache.lucene.analysis.util"><CODE>ResourceLoader</CODE></A> and pass it as <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/EntityResolver.html?is-external=true" title="class or interface in org.xml.sax"><CODE>EntityResolver</CODE></A> to SAX parsers |
---|
| 110 | or via wrapper methods as <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/URIResolver.html?is-external=true" title="class or interface in javax.xml.transform"><CODE>URIResolver</CODE></A> to XSL transformers or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLResolver.html?is-external=true" title="class or interface in javax.xml.stream"><CODE>XMLResolver</CODE></A> to STAX parsers. |
---|
| 111 | The resolver handles special SystemIds with an URI scheme of <code>solrres:</code> that point |
---|
| 112 | to resources. To produce such systemIds when you initially call the parser, use |
---|
| 113 | <A HREF="../../../../org/apache/solr/util/SystemIdResolver.html#createSystemIdFromResourceName(java.lang.String)"><CODE>createSystemIdFromResourceName(java.lang.String)</CODE></A> which produces a SystemId that can |
---|
| 114 | be included along the InputStream coming from <A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//analyzers-common/org/apache/lucene/analysis/util/ResourceLoader.html?is-external=true#openResource(java.lang.String)" title="class or interface in org.apache.lucene.analysis.util"><CODE>ResourceLoader.openResource(java.lang.String)</CODE></A>. |
---|
| 115 | <p>In general create the <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax"><CODE>InputSource</CODE></A> to be passed to the parser like:</p> |
---|
| 116 | <pre class="prettyprint"> |
---|
| 117 | InputSource is = new InputSource(loader.openSchema(name)); |
---|
| 118 | is.setSystemId(SystemIdResolver.createSystemIdFromResourceName(name)); |
---|
| 119 | final DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder(); |
---|
| 120 | db.setEntityResolver(new SystemIdResolver(loader)); |
---|
| 121 | Document doc = db.parse(is); |
---|
| 122 | </pre> |
---|
| 123 | <P> |
---|
| 124 | |
---|
| 125 | <P> |
---|
| 126 | <HR> |
---|
| 127 | |
---|
| 128 | <P> |
---|
| 129 | <!-- =========== FIELD SUMMARY =========== --> |
---|
| 130 | |
---|
| 131 | <A NAME="field_summary"><!-- --></A> |
---|
| 132 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 133 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 134 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 135 | <B>Field Summary</B></FONT></TH> |
---|
| 136 | </TR> |
---|
| 137 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 138 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 139 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 140 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/SystemIdResolver.html#RESOURCE_LOADER_AUTHORITY_ABSOLUTE">RESOURCE_LOADER_AUTHORITY_ABSOLUTE</A></B></CODE> |
---|
| 141 | |
---|
| 142 | <BR> |
---|
| 143 | </TD> |
---|
| 144 | </TR> |
---|
| 145 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 146 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 147 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 148 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/SystemIdResolver.html#RESOURCE_LOADER_URI_SCHEME">RESOURCE_LOADER_URI_SCHEME</A></B></CODE> |
---|
| 149 | |
---|
| 150 | <BR> |
---|
| 151 | </TD> |
---|
| 152 | </TR> |
---|
| 153 | </TABLE> |
---|
| 154 | |
---|
| 155 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 156 | |
---|
| 157 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 158 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 159 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 160 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 161 | <B>Constructor Summary</B></FONT></TH> |
---|
| 162 | </TR> |
---|
| 163 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 164 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/SystemIdResolver.html#SystemIdResolver(org.apache.lucene.analysis.util.ResourceLoader)">SystemIdResolver</A></B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//analyzers-common/org/apache/lucene/analysis/util/ResourceLoader.html?is-external=true" title="class or interface in org.apache.lucene.analysis.util">ResourceLoader</A> loader)</CODE> |
---|
| 165 | |
---|
| 166 | <BR> |
---|
| 167 | </TD> |
---|
| 168 | </TR> |
---|
| 169 | </TABLE> |
---|
| 170 | |
---|
| 171 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 172 | |
---|
| 173 | <A NAME="method_summary"><!-- --></A> |
---|
| 174 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 175 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 176 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 177 | <B>Method Summary</B></FONT></TH> |
---|
| 178 | </TR> |
---|
| 179 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 181 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/EntityResolver.html?is-external=true" title="class or interface in org.xml.sax">EntityResolver</A></CODE></FONT></TD> |
---|
| 182 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/SystemIdResolver.html#asEntityResolver()">asEntityResolver</A></B>()</CODE> |
---|
| 183 | |
---|
| 184 | <BR> |
---|
| 185 | </TD> |
---|
| 186 | </TR> |
---|
| 187 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 188 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 189 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/URIResolver.html?is-external=true" title="class or interface in javax.xml.transform">URIResolver</A></CODE></FONT></TD> |
---|
| 190 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/SystemIdResolver.html#asURIResolver()">asURIResolver</A></B>()</CODE> |
---|
| 191 | |
---|
| 192 | <BR> |
---|
| 193 | </TD> |
---|
| 194 | </TR> |
---|
| 195 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 196 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 197 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLResolver.html?is-external=true" title="class or interface in javax.xml.stream">XMLResolver</A></CODE></FONT></TD> |
---|
| 198 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/SystemIdResolver.html#asXMLResolver()">asXMLResolver</A></B>()</CODE> |
---|
| 199 | |
---|
| 200 | <BR> |
---|
| 201 | </TD> |
---|
| 202 | </TR> |
---|
| 203 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 204 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 205 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 206 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/SystemIdResolver.html#createSystemIdFromResourceName(java.lang.String)">createSystemIdFromResourceName</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
| 207 | |
---|
| 208 | <BR> |
---|
| 209 | </TD> |
---|
| 210 | </TR> |
---|
| 211 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 212 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 213 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A></CODE></FONT></TD> |
---|
| 214 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/SystemIdResolver.html#getExternalSubset(java.lang.String, java.lang.String)">getExternalSubset</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
| 215 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> baseURI)</CODE> |
---|
| 216 | |
---|
| 217 | <BR> |
---|
| 218 | </TD> |
---|
| 219 | </TR> |
---|
| 220 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 221 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 222 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A></CODE></FONT></TD> |
---|
| 223 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/SystemIdResolver.html#resolveEntity(java.lang.String, java.lang.String)">resolveEntity</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> publicId, |
---|
| 224 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> systemId)</CODE> |
---|
| 225 | |
---|
| 226 | <BR> |
---|
| 227 | </TD> |
---|
| 228 | </TR> |
---|
| 229 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 230 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 231 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A></CODE></FONT></TD> |
---|
| 232 | <TD><CODE><B><A HREF="../../../../org/apache/solr/util/SystemIdResolver.html#resolveEntity(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">resolveEntity</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
| 233 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> publicId, |
---|
| 234 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> baseURI, |
---|
| 235 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> systemId)</CODE> |
---|
| 236 | |
---|
| 237 | <BR> |
---|
| 238 | </TD> |
---|
| 239 | </TR> |
---|
| 240 | </TABLE> |
---|
| 241 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 242 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 243 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 244 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
| 245 | </TR> |
---|
| 246 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 247 | <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
| 248 | </TR> |
---|
| 249 | </TABLE> |
---|
| 250 | |
---|
| 251 | <P> |
---|
| 252 | |
---|
| 253 | <!-- ============ FIELD DETAIL =========== --> |
---|
| 254 | |
---|
| 255 | <A NAME="field_detail"><!-- --></A> |
---|
| 256 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 257 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 258 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 259 | <B>Field Detail</B></FONT></TH> |
---|
| 260 | </TR> |
---|
| 261 | </TABLE> |
---|
| 262 | |
---|
| 263 | <A NAME="RESOURCE_LOADER_URI_SCHEME"><!-- --></A><H3> |
---|
| 264 | RESOURCE_LOADER_URI_SCHEME</H3> |
---|
| 265 | <PRE> |
---|
| 266 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>RESOURCE_LOADER_URI_SCHEME</B></PRE> |
---|
| 267 | <DL> |
---|
| 268 | <DL> |
---|
| 269 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.util.SystemIdResolver.RESOURCE_LOADER_URI_SCHEME">Constant Field Values</A></DL> |
---|
| 270 | </DL> |
---|
| 271 | <HR> |
---|
| 272 | |
---|
| 273 | <A NAME="RESOURCE_LOADER_AUTHORITY_ABSOLUTE"><!-- --></A><H3> |
---|
| 274 | RESOURCE_LOADER_AUTHORITY_ABSOLUTE</H3> |
---|
| 275 | <PRE> |
---|
| 276 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>RESOURCE_LOADER_AUTHORITY_ABSOLUTE</B></PRE> |
---|
| 277 | <DL> |
---|
| 278 | <DL> |
---|
| 279 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.util.SystemIdResolver.RESOURCE_LOADER_AUTHORITY_ABSOLUTE">Constant Field Values</A></DL> |
---|
| 280 | </DL> |
---|
| 281 | |
---|
| 282 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 283 | |
---|
| 284 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 285 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 286 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 287 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 288 | <B>Constructor Detail</B></FONT></TH> |
---|
| 289 | </TR> |
---|
| 290 | </TABLE> |
---|
| 291 | |
---|
| 292 | <A NAME="SystemIdResolver(org.apache.lucene.analysis.util.ResourceLoader)"><!-- --></A><H3> |
---|
| 293 | SystemIdResolver</H3> |
---|
| 294 | <PRE> |
---|
| 295 | public <B>SystemIdResolver</B>(<A HREF="http://lucene.apache.org/java/4_0_0-ALPHA//analyzers-common/org/apache/lucene/analysis/util/ResourceLoader.html?is-external=true" title="class or interface in org.apache.lucene.analysis.util">ResourceLoader</A> loader)</PRE> |
---|
| 296 | <DL> |
---|
| 297 | </DL> |
---|
| 298 | |
---|
| 299 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 300 | |
---|
| 301 | <A NAME="method_detail"><!-- --></A> |
---|
| 302 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 303 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 304 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 305 | <B>Method Detail</B></FONT></TH> |
---|
| 306 | </TR> |
---|
| 307 | </TABLE> |
---|
| 308 | |
---|
| 309 | <A NAME="asEntityResolver()"><!-- --></A><H3> |
---|
| 310 | asEntityResolver</H3> |
---|
| 311 | <PRE> |
---|
| 312 | public <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/EntityResolver.html?is-external=true" title="class or interface in org.xml.sax">EntityResolver</A> <B>asEntityResolver</B>()</PRE> |
---|
| 313 | <DL> |
---|
| 314 | <DD><DL> |
---|
| 315 | </DL> |
---|
| 316 | </DD> |
---|
| 317 | <DD><DL> |
---|
| 318 | </DL> |
---|
| 319 | </DD> |
---|
| 320 | </DL> |
---|
| 321 | <HR> |
---|
| 322 | |
---|
| 323 | <A NAME="asURIResolver()"><!-- --></A><H3> |
---|
| 324 | asURIResolver</H3> |
---|
| 325 | <PRE> |
---|
| 326 | public <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/URIResolver.html?is-external=true" title="class or interface in javax.xml.transform">URIResolver</A> <B>asURIResolver</B>()</PRE> |
---|
| 327 | <DL> |
---|
| 328 | <DD><DL> |
---|
| 329 | </DL> |
---|
| 330 | </DD> |
---|
| 331 | <DD><DL> |
---|
| 332 | </DL> |
---|
| 333 | </DD> |
---|
| 334 | </DL> |
---|
| 335 | <HR> |
---|
| 336 | |
---|
| 337 | <A NAME="asXMLResolver()"><!-- --></A><H3> |
---|
| 338 | asXMLResolver</H3> |
---|
| 339 | <PRE> |
---|
| 340 | public <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLResolver.html?is-external=true" title="class or interface in javax.xml.stream">XMLResolver</A> <B>asXMLResolver</B>()</PRE> |
---|
| 341 | <DL> |
---|
| 342 | <DD><DL> |
---|
| 343 | </DL> |
---|
| 344 | </DD> |
---|
| 345 | <DD><DL> |
---|
| 346 | </DL> |
---|
| 347 | </DD> |
---|
| 348 | </DL> |
---|
| 349 | <HR> |
---|
| 350 | |
---|
| 351 | <A NAME="getExternalSubset(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 352 | getExternalSubset</H3> |
---|
| 353 | <PRE> |
---|
| 354 | public <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A> <B>getExternalSubset</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
| 355 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> baseURI)</PRE> |
---|
| 356 | <DL> |
---|
| 357 | <DD><DL> |
---|
| 358 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ext/EntityResolver2.html?is-external=true#getExternalSubset(java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.ext">getExternalSubset</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ext/EntityResolver2.html?is-external=true" title="class or interface in org.xml.sax.ext">EntityResolver2</A></CODE></DL> |
---|
| 359 | </DD> |
---|
| 360 | <DD><DL> |
---|
| 361 | </DL> |
---|
| 362 | </DD> |
---|
| 363 | </DL> |
---|
| 364 | <HR> |
---|
| 365 | |
---|
| 366 | <A NAME="resolveEntity(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 367 | resolveEntity</H3> |
---|
| 368 | <PRE> |
---|
| 369 | public <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A> <B>resolveEntity</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, |
---|
| 370 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> publicId, |
---|
| 371 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> baseURI, |
---|
| 372 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> systemId) |
---|
| 373 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
| 374 | <DL> |
---|
| 375 | <DD><DL> |
---|
| 376 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ext/EntityResolver2.html?is-external=true#resolveEntity(java.lang.String, java.lang.String, java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.ext">resolveEntity</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ext/EntityResolver2.html?is-external=true" title="class or interface in org.xml.sax.ext">EntityResolver2</A></CODE></DL> |
---|
| 377 | </DD> |
---|
| 378 | <DD><DL> |
---|
| 379 | |
---|
| 380 | <DT><B>Throws:</B> |
---|
| 381 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
| 382 | </DD> |
---|
| 383 | </DL> |
---|
| 384 | <HR> |
---|
| 385 | |
---|
| 386 | <A NAME="resolveEntity(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 387 | resolveEntity</H3> |
---|
| 388 | <PRE> |
---|
| 389 | public <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</A> <B>resolveEntity</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> publicId, |
---|
| 390 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> systemId) |
---|
| 391 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
| 392 | <DL> |
---|
| 393 | <DD><DL> |
---|
| 394 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/EntityResolver.html?is-external=true#resolveEntity(java.lang.String, java.lang.String)" title="class or interface in org.xml.sax">resolveEntity</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/EntityResolver.html?is-external=true" title="class or interface in org.xml.sax">EntityResolver</A></CODE></DL> |
---|
| 395 | </DD> |
---|
| 396 | <DD><DL> |
---|
| 397 | |
---|
| 398 | <DT><B>Throws:</B> |
---|
| 399 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
| 400 | </DD> |
---|
| 401 | </DL> |
---|
| 402 | <HR> |
---|
| 403 | |
---|
| 404 | <A NAME="createSystemIdFromResourceName(java.lang.String)"><!-- --></A><H3> |
---|
| 405 | createSystemIdFromResourceName</H3> |
---|
| 406 | <PRE> |
---|
| 407 | public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>createSystemIdFromResourceName</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
---|
| 408 | <DL> |
---|
| 409 | <DD><DL> |
---|
| 410 | </DL> |
---|
| 411 | </DD> |
---|
| 412 | <DD><DL> |
---|
| 413 | </DL> |
---|
| 414 | </DD> |
---|
| 415 | </DL> |
---|
| 416 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 417 | <HR> |
---|
| 418 | |
---|
| 419 | |
---|
| 420 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 421 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 422 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 423 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 424 | <TR> |
---|
| 425 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 426 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 427 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 428 | <TR ALIGN="center" VALIGN="top"> |
---|
| 429 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 430 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 431 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 432 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SystemIdResolver.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 433 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 434 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 435 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 436 | </TR> |
---|
| 437 | </TABLE> |
---|
| 438 | </TD> |
---|
| 439 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 440 | </EM> |
---|
| 441 | </TD> |
---|
| 442 | </TR> |
---|
| 443 | |
---|
| 444 | <TR> |
---|
| 445 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 446 | <A HREF="../../../../org/apache/solr/util/SuggestMissingFactories.html" title="class in org.apache.solr.util"><B>PREV CLASS</B></A> |
---|
| 447 | <A HREF="../../../../org/apache/solr/util/TimeZoneUtils.html" title="class in org.apache.solr.util"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 448 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 449 | <A HREF="../../../../index.html?org/apache/solr/util/SystemIdResolver.html" target="_top"><B>FRAMES</B></A> |
---|
| 450 | <A HREF="SystemIdResolver.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 451 | <SCRIPT type="text/javascript"> |
---|
| 452 | <!-- |
---|
| 453 | if(window==top) { |
---|
| 454 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 455 | } |
---|
| 456 | //--> |
---|
| 457 | </SCRIPT> |
---|
| 458 | <NOSCRIPT> |
---|
| 459 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 460 | </NOSCRIPT> |
---|
| 461 | |
---|
| 462 | |
---|
| 463 | </FONT></TD> |
---|
| 464 | </TR> |
---|
| 465 | <TR> |
---|
| 466 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 467 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 468 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 469 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 470 | </TR> |
---|
| 471 | </TABLE> |
---|
| 472 | <A NAME="skip-navbar_bottom"></A> |
---|
| 473 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 474 | |
---|
| 475 | <HR> |
---|
| 476 | |
---|
| 477 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
| 478 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
| 479 | <script type='text/javascript'> |
---|
| 480 | (function(){ |
---|
| 481 | var oldonload = window.onload; |
---|
| 482 | if (typeof oldonload != 'function') { |
---|
| 483 | window.onload = prettyPrint; |
---|
| 484 | } else { |
---|
| 485 | window.onload = function() { |
---|
| 486 | oldonload(); |
---|
| 487 | prettyPrint(); |
---|
| 488 | } |
---|
| 489 | } |
---|
| 490 | })(); |
---|
| 491 | </script> |
---|
| 492 | |
---|
| 493 | </BODY> |
---|
| 494 | </HTML> |
---|