public class XMLResponseParser extends ResponseParser
Modifier and Type | Class and Description |
---|---|
protected static class |
XMLResponseParser.KnownType |
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
Constructor and Description |
---|
XMLResponseParser() |
Modifier and Type | Method and Description |
---|---|
String |
getWriterType() |
NamedList<Object> |
processResponse(InputStream in,
String encoding) |
NamedList<Object> |
processResponse(Reader in) |
protected List<Object> |
readArray(XMLStreamReader parser) |
protected SolrDocument |
readDocument(XMLStreamReader parser) |
protected SolrDocumentList |
readDocuments(XMLStreamReader parser) |
protected NamedList<Object> |
readNamedList(XMLStreamReader parser) |
getVersion
public String getWriterType()
getWriterType
in class ResponseParser
public NamedList<Object> processResponse(Reader in)
processResponse
in class ResponseParser
public NamedList<Object> processResponse(InputStream in, String encoding)
processResponse
in class ResponseParser
protected NamedList<Object> readNamedList(XMLStreamReader parser) throws XMLStreamException
XMLStreamException
protected List<Object> readArray(XMLStreamReader parser) throws XMLStreamException
XMLStreamException
protected SolrDocumentList readDocuments(XMLStreamReader parser) throws XMLStreamException
XMLStreamException
protected SolrDocument readDocument(XMLStreamReader parser) throws XMLStreamException
XMLStreamException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.