public class SchemaXmlWriter extends TextResponseWriter
cal, doIndent, level, req, returnFields, rsp, schema, writer
Constructor and Description |
---|
SchemaXmlWriter(Writer writer,
SolrQueryRequest req,
SolrQueryResponse rsp) |
Modifier and Type | Method and Description |
---|---|
void |
setEmitManagedSchemaDoNotEditWarning(boolean emitManagedSchemaDoNotEditWarning) |
void |
writeArray(String name,
Iterator iter) |
void |
writeArray(String name,
Object[] val) |
void |
writeAttr(String name,
String val,
boolean escape) |
void |
writeBool(String name,
String val) |
void |
writeDate(String name,
String val) |
void |
writeDouble(String name,
double val) |
void |
writeDouble(String name,
String val) |
void |
writeEndDocumentList() |
void |
writeFloat(String name,
float val) |
void |
writeFloat(String name,
String val) |
void |
writeInt(String name,
String val) |
void |
writeLong(String name,
String val) |
void |
writeMap(String name,
Map map,
boolean excludeOuter,
boolean isFirstVal) |
void |
writeNamedList(String name,
NamedList val) |
void |
writeNull(String name) |
void |
writeResponse() |
static void |
writeResponse(Writer writer,
SolrQueryRequest req,
SolrQueryResponse rsp) |
void |
writeSolrDocument(String name,
SolrDocument doc,
ReturnFields returnFields,
int idx) |
void |
writeStartDocumentList(String name,
long start,
int size,
long numFound,
Float maxScore) |
void |
writeStr(String name,
String val,
boolean escape) |
close, decLevel, doIndent, getWriter, incLevel, level, setIndent, setLevel, writeDocuments, writeSolrDocumentList, writeVal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
indent, indent, writeArray, writeBool, writeBool, writeByteArr, writeDate, writeInt, writeIterator, writeLong, writeMap, writeNumber
public SchemaXmlWriter(Writer writer, SolrQueryRequest req, SolrQueryResponse rsp)
public void setEmitManagedSchemaDoNotEditWarning(boolean emitManagedSchemaDoNotEditWarning)
public static void writeResponse(Writer writer, SolrQueryRequest req, SolrQueryResponse rsp) throws IOException
IOException
public void writeResponse() throws IOException
IOException
public void writeAttr(String name, String val, boolean escape) throws IOException
IOException
public void writeNamedList(String name, NamedList val) throws IOException
IOException
public void writeMap(String name, Map map, boolean excludeOuter, boolean isFirstVal) throws IOException
IOException
public void writeArray(String name, Object[] val) throws IOException
IOException
public void writeArray(String name, Iterator iter) throws IOException
IOException
public void writeNull(String name) throws IOException
IOException
public void writeStr(String name, String val, boolean escape) throws IOException
IOException
public void writeInt(String name, String val) throws IOException
IOException
public void writeLong(String name, String val) throws IOException
IOException
public void writeBool(String name, String val) throws IOException
IOException
public void writeFloat(String name, String val) throws IOException
IOException
public void writeFloat(String name, float val) throws IOException
IOException
public void writeDouble(String name, String val) throws IOException
IOException
public void writeDouble(String name, double val) throws IOException
IOException
public void writeDate(String name, String val) throws IOException
IOException
public void writeStartDocumentList(String name, long start, int size, long numFound, Float maxScore) throws IOException
writeStartDocumentList
in class TextResponseWriter
IOException
public void writeSolrDocument(String name, SolrDocument doc, ReturnFields returnFields, int idx) throws IOException
writeSolrDocument
in class TextResponseWriter
IOException
public void writeEndDocumentList() throws IOException
writeEndDocumentList
in class TextResponseWriter
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.