source: sandbox/expresso-solr/solr/docs/api/org/apache/solr/handler/loader/XMLLoader.html @ 7588

Revision 7588, 22.9 KB checked in by adir, 11 years ago (diff)

Ticket #000 - Adicionando a integracao de buscas com Solr na base a ser isnerida na comunidade

Line 
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:24 EDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=utf-8">
7<TITLE>
8XMLLoader (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">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="XMLLoader (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>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/XMLLoader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../../org/apache/solr/handler/loader/JsonLoader.html" title="class in org.apache.solr.handler.loader"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;NEXT CLASS</FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../../index.html?org/apache/solr/handler/loader/XMLLoader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="XMLLoader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
91org.apache.solr.handler.loader</FONT>
92<BR>
93Class XMLLoader</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 "><A HREF="../../../../../org/apache/solr/handler/loader/ContentStreamLoader.html" title="class in org.apache.solr.handler.loader">org.apache.solr.handler.loader.ContentStreamLoader</A>
97      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.handler.loader.XMLLoader</B>
98</PRE>
99<HR>
100<DL>
101<DT><PRE>public class <B>XMLLoader</B><DT>extends <A HREF="../../../../../org/apache/solr/handler/loader/ContentStreamLoader.html" title="class in org.apache.solr.handler.loader">ContentStreamLoader</A></DL>
102</PRE>
103
104<P>
105<HR>
106
107<P>
108<!-- =========== FIELD SUMMARY =========== -->
109
110<A NAME="field_summary"><!-- --></A>
111<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
112<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
113<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
114<B>Field Summary</B></FONT></TH>
115</TR>
116<TR BGCOLOR="white" CLASS="TableRowColor">
117<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
118<CODE>static&nbsp;<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>
119<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/loader/XMLLoader.html#CONTEXT_TRANSFORMER_KEY">CONTEXT_TRANSFORMER_KEY</A></B></CODE>
120
121<BR>
122&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
123</TR>
124<TR BGCOLOR="white" CLASS="TableRowColor">
125<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126<CODE>static&nbsp;org.slf4j.Logger</CODE></FONT></TD>
127<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/loader/XMLLoader.html#log">log</A></B></CODE>
128
129<BR>
130&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134<CODE>static&nbsp;int</CODE></FONT></TD>
135<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/loader/XMLLoader.html#XSLT_CACHE_DEFAULT">XSLT_CACHE_DEFAULT</A></B></CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
139</TR>
140</TABLE>
141&nbsp;
142<!-- ======== CONSTRUCTOR SUMMARY ======== -->
143
144<A NAME="constructor_summary"><!-- --></A>
145<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
146<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
147<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
148<B>Constructor Summary</B></FONT></TH>
149</TR>
150<TR BGCOLOR="white" CLASS="TableRowColor">
151<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/loader/XMLLoader.html#XMLLoader()">XMLLoader</A></B>()</CODE>
152
153<BR>
154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
155</TR>
156</TABLE>
157&nbsp;
158<!-- ========== METHOD SUMMARY =========== -->
159
160<A NAME="method_summary"><!-- --></A>
161<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
162<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
163<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
164<B>Method Summary</B></FONT></TH>
165</TR>
166<TR BGCOLOR="white" CLASS="TableRowColor">
167<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168<CODE>&nbsp;<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>
169<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/loader/XMLLoader.html#getDefaultWT()">getDefaultWT</A></B>()</CODE>
170
171<BR>
172&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
173</TR>
174<TR BGCOLOR="white" CLASS="TableRowColor">
175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176<CODE>&nbsp;<A HREF="../../../../../org/apache/solr/handler/loader/XMLLoader.html" title="class in org.apache.solr.handler.loader">XMLLoader</A></CODE></FONT></TD>
177<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/loader/XMLLoader.html#init(org.apache.solr.common.params.SolrParams)">init</A></B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;args)</CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This should be called once for each RequestHandler</TD>
181</TR>
182<TR BGCOLOR="white" CLASS="TableRowColor">
183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184<CODE>&nbsp;void</CODE></FONT></TD>
185<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/loader/XMLLoader.html#load(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse, org.apache.solr.common.util.ContentStream, org.apache.solr.update.processor.UpdateRequestProcessor)">load</A></B>(<A HREF="../../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;req,
186     <A HREF="../../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A>&nbsp;rsp,
187     <A HREF="../../../../../org/apache/solr/common/util/ContentStream.html" title="interface in org.apache.solr.common.util">ContentStream</A>&nbsp;stream,
188     <A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html" title="class in org.apache.solr.update.processor">UpdateRequestProcessor</A>&nbsp;processor)</CODE>
189
190<BR>
191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loaders are responsible for closing the stream</TD>
192</TR>
193<TR BGCOLOR="white" CLASS="TableRowColor">
194<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195<CODE>&nbsp;<A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A></CODE></FONT></TD>
196<TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/loader/XMLLoader.html#readDoc(javax.xml.stream.XMLStreamReader)">readDoc</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;parser)</CODE>
197
198<BR>
199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given the input stream, read a document</TD>
200</TR>
201</TABLE>
202&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
203<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
204<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
205<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>
206</TR>
207<TR BGCOLOR="white" CLASS="TableRowColor">
208<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>
209</TR>
210</TABLE>
211&nbsp;
212<P>
213
214<!-- ============ FIELD DETAIL =========== -->
215
216<A NAME="field_detail"><!-- --></A>
217<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
218<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
219<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
220<B>Field Detail</B></FONT></TH>
221</TR>
222</TABLE>
223
224<A NAME="log"><!-- --></A><H3>
225log</H3>
226<PRE>
227public static org.slf4j.Logger <B>log</B></PRE>
228<DL>
229<DL>
230</DL>
231</DL>
232<HR>
233
234<A NAME="CONTEXT_TRANSFORMER_KEY"><!-- --></A><H3>
235CONTEXT_TRANSFORMER_KEY</H3>
236<PRE>
237public 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>CONTEXT_TRANSFORMER_KEY</B></PRE>
238<DL>
239<DL>
240<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.loader.XMLLoader.CONTEXT_TRANSFORMER_KEY">Constant Field Values</A></DL>
241</DL>
242<HR>
243
244<A NAME="XSLT_CACHE_DEFAULT"><!-- --></A><H3>
245XSLT_CACHE_DEFAULT</H3>
246<PRE>
247public static final int <B>XSLT_CACHE_DEFAULT</B></PRE>
248<DL>
249<DL>
250<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.loader.XMLLoader.XSLT_CACHE_DEFAULT">Constant Field Values</A></DL>
251</DL>
252
253<!-- ========= CONSTRUCTOR DETAIL ======== -->
254
255<A NAME="constructor_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>Constructor Detail</B></FONT></TH>
260</TR>
261</TABLE>
262
263<A NAME="XMLLoader()"><!-- --></A><H3>
264XMLLoader</H3>
265<PRE>
266public <B>XMLLoader</B>()</PRE>
267<DL>
268</DL>
269
270<!-- ============ METHOD DETAIL ========== -->
271
272<A NAME="method_detail"><!-- --></A>
273<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
274<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
275<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
276<B>Method Detail</B></FONT></TH>
277</TR>
278</TABLE>
279
280<A NAME="init(org.apache.solr.common.params.SolrParams)"><!-- --></A><H3>
281init</H3>
282<PRE>
283public <A HREF="../../../../../org/apache/solr/handler/loader/XMLLoader.html" title="class in org.apache.solr.handler.loader">XMLLoader</A> <B>init</B>(<A HREF="../../../../../org/apache/solr/common/params/SolrParams.html" title="class in org.apache.solr.common.params">SolrParams</A>&nbsp;args)</PRE>
284<DL>
285<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/solr/handler/loader/ContentStreamLoader.html#init(org.apache.solr.common.params.SolrParams)">ContentStreamLoader</A></CODE></B></DD>
286<DD>This should be called once for each RequestHandler
287<P>
288<DD><DL>
289<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/loader/ContentStreamLoader.html#init(org.apache.solr.common.params.SolrParams)">init</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/handler/loader/ContentStreamLoader.html" title="class in org.apache.solr.handler.loader">ContentStreamLoader</A></CODE></DL>
290</DD>
291<DD><DL>
292</DL>
293</DD>
294</DL>
295<HR>
296
297<A NAME="getDefaultWT()"><!-- --></A><H3>
298getDefaultWT</H3>
299<PRE>
300public <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>getDefaultWT</B>()</PRE>
301<DL>
302<DD><DL>
303<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/loader/ContentStreamLoader.html#getDefaultWT()">getDefaultWT</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/handler/loader/ContentStreamLoader.html" title="class in org.apache.solr.handler.loader">ContentStreamLoader</A></CODE></DL>
304</DD>
305<DD><DL>
306</DL>
307</DD>
308</DL>
309<HR>
310
311<A NAME="load(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse, org.apache.solr.common.util.ContentStream, org.apache.solr.update.processor.UpdateRequestProcessor)"><!-- --></A><H3>
312load</H3>
313<PRE>
314public void <B>load</B>(<A HREF="../../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request">SolrQueryRequest</A>&nbsp;req,
315                 <A HREF="../../../../../org/apache/solr/response/SolrQueryResponse.html" title="class in org.apache.solr.response">SolrQueryResponse</A>&nbsp;rsp,
316                 <A HREF="../../../../../org/apache/solr/common/util/ContentStream.html" title="interface in org.apache.solr.common.util">ContentStream</A>&nbsp;stream,
317                 <A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html" title="class in org.apache.solr.update.processor">UpdateRequestProcessor</A>&nbsp;processor)
318          throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE>
319<DL>
320<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/solr/handler/loader/ContentStreamLoader.html#load(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse, org.apache.solr.common.util.ContentStream, org.apache.solr.update.processor.UpdateRequestProcessor)">ContentStreamLoader</A></CODE></B></DD>
321<DD>Loaders are responsible for closing the stream
322<P>
323<DD><DL>
324<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/loader/ContentStreamLoader.html#load(org.apache.solr.request.SolrQueryRequest, org.apache.solr.response.SolrQueryResponse, org.apache.solr.common.util.ContentStream, org.apache.solr.update.processor.UpdateRequestProcessor)">load</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/handler/loader/ContentStreamLoader.html" title="class in org.apache.solr.handler.loader">ContentStreamLoader</A></CODE></DL>
325</DD>
326<DD><DL>
327<DT><B>Parameters:</B><DD><CODE>req</CODE> - The input <A HREF="../../../../../org/apache/solr/request/SolrQueryRequest.html" title="interface in org.apache.solr.request"><CODE>SolrQueryRequest</CODE></A><DD><CODE>rsp</CODE> - The response, in case the Loader wishes to add anything<DD><CODE>stream</CODE> - The <A HREF="../../../../../org/apache/solr/common/util/ContentStream.html" title="interface in org.apache.solr.common.util"><CODE>ContentStream</CODE></A> to add<DD><CODE>processor</CODE> - The <A HREF="../../../../../org/apache/solr/update/processor/UpdateRequestProcessor.html" title="class in org.apache.solr.update.processor"><CODE>UpdateRequestProcessor</CODE></A> to use
328<DT><B>Throws:</B>
329<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL>
330</DD>
331</DL>
332<HR>
333
334<A NAME="readDoc(javax.xml.stream.XMLStreamReader)"><!-- --></A><H3>
335readDoc</H3>
336<PRE>
337public <A HREF="../../../../../org/apache/solr/common/SolrInputDocument.html" title="class in org.apache.solr.common">SolrInputDocument</A> <B>readDoc</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;parser)
338                          throws <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
339<DL>
340<DD>Given the input stream, read a document
341<P>
342<DD><DL>
343
344<DT><B>Throws:</B>
345<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE><DT><B>Since:</B></DT>
346  <DD>solr 1.3</DD>
347</DL>
348</DD>
349</DL>
350<!-- ========= END OF CLASS DATA ========= -->
351<HR>
352
353
354<!-- ======= START OF BOTTOM NAVBAR ====== -->
355<A NAME="navbar_bottom"><!-- --></A>
356<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
357<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
358<TR>
359<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
360<A NAME="navbar_bottom_firstrow"><!-- --></A>
361<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
362  <TR ALIGN="center" VALIGN="top">
363  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
364  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
365  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
366  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/XMLLoader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
367  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
368  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
369  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
370  </TR>
371</TABLE>
372</TD>
373<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
374</EM>
375</TD>
376</TR>
377
378<TR>
379<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
380&nbsp;<A HREF="../../../../../org/apache/solr/handler/loader/JsonLoader.html" title="class in org.apache.solr.handler.loader"><B>PREV CLASS</B></A>&nbsp;
381&nbsp;NEXT CLASS</FONT></TD>
382<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
383  <A HREF="../../../../../index.html?org/apache/solr/handler/loader/XMLLoader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
384&nbsp;<A HREF="XMLLoader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
385&nbsp;<SCRIPT type="text/javascript">
386  <!--
387  if(window==top) {
388    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
389  }
390  //-->
391</SCRIPT>
392<NOSCRIPT>
393  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
394</NOSCRIPT>
395
396
397</FONT></TD>
398</TR>
399<TR>
400<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
401  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
402<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
403DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
404</TR>
405</TABLE>
406<A NAME="skip-navbar_bottom"></A>
407<!-- ======== END OF BOTTOM NAVBAR ======= -->
408
409<HR>
410
411          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
412          <script src='../../../../../prettify.js' type='text/javascript'></script>
413          <script type='text/javascript'>
414            (function(){
415              var oldonload = window.onload;
416              if (typeof oldonload != 'function') {
417                window.onload = prettyPrint;
418              } else {
419                window.onload = function() {
420                  oldonload();
421                  prettyPrint();
422                }
423              }
424            })();
425          </script>
426       
427</BODY>
428</HTML>
Note: See TracBrowser for help on using the repository browser.