org.apache.solr.client.solrj.impl
Class XMLResponseParser
java.lang.Object
org.apache.solr.client.solrj.ResponseParser
org.apache.solr.client.solrj.impl.XMLResponseParser
public class XMLResponseParser
- extends ResponseParser
- Since:
- solr 1.3
Field Summary |
static org.slf4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static org.slf4j.Logger log
XMLResponseParser
public XMLResponseParser()
getWriterType
public String getWriterType()
- Specified by:
getWriterType
in class ResponseParser
processResponse
public NamedList<Object> processResponse(Reader in)
- Specified by:
processResponse
in class ResponseParser
processResponse
public NamedList<Object> processResponse(InputStream in,
String encoding)
- Specified by:
processResponse
in class ResponseParser
readNamedList
protected NamedList<Object> readNamedList(XMLStreamReader parser)
throws XMLStreamException
- Throws:
XMLStreamException
readArray
protected List<Object> readArray(XMLStreamReader parser)
throws XMLStreamException
- Throws:
XMLStreamException
readDocuments
protected SolrDocumentList readDocuments(XMLStreamReader parser)
throws XMLStreamException
- Throws:
XMLStreamException
readDocument
protected SolrDocument readDocument(XMLStreamReader parser)
throws XMLStreamException
- Throws:
XMLStreamException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.