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)
if this form of the method is called, val is the Java string form of a boolean
|
void |
writeDate(String name,
String val)
if this form of the method is called, val is the Solr ISO8601 based date format
|
void |
writeDouble(String name,
double val) |
void |
writeDouble(String name,
String val)
if this form of the method is called, val is the Java string form of a double
|
void |
writeEndDocumentList() |
void |
writeFloat(String name,
float val) |
void |
writeFloat(String name,
String val)
if this form of the method is called, val is the Java string form of a float
|
void |
writeInt(String name,
String val)
if this form of the method is called, val is the Java string form of an int
|
void |
writeLong(String name,
String val)
if this form of the method is called, val is the Java string form of a long
|
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, getWriter, incLevel, indent, indent, level, setIndent, setLevel, toSolrDocument, writeBool, writeByteArr, writeDate, writeDocuments, writeInt, writeLong, writeSolrDocumentList, writeValpublic SchemaXmlWriter(Writer writer, SolrQueryRequest req, SolrQueryResponse rsp)
public void setEmitManagedSchemaDoNotEditWarning(boolean emitManagedSchemaDoNotEditWarning)
public static void writeResponse(Writer writer, SolrQueryRequest req, SolrQueryResponse rsp) throws IOException
IOExceptionpublic void writeResponse()
throws IOException
IOExceptionpublic void writeAttr(String name, String val, boolean escape) throws IOException
IOExceptionpublic void writeNamedList(String name, NamedList val) throws IOException
writeNamedList in class TextResponseWriterIOExceptionpublic void writeMap(String name, Map map, boolean excludeOuter, boolean isFirstVal) throws IOException
writeMap in class TextResponseWriterIOExceptionpublic void writeArray(String name, Object[] val) throws IOException
writeArray in class TextResponseWriterIOExceptionpublic void writeArray(String name, Iterator iter) throws IOException
writeArray in class TextResponseWriterIOExceptionpublic void writeNull(String name) throws IOException
writeNull in class TextResponseWriterIOExceptionpublic void writeStr(String name, String val, boolean escape) throws IOException
writeStr in class TextResponseWriterIOExceptionpublic void writeInt(String name, String val) throws IOException
TextResponseWriterwriteInt in class TextResponseWriterIOExceptionpublic void writeLong(String name, String val) throws IOException
TextResponseWriterwriteLong in class TextResponseWriterIOExceptionpublic void writeBool(String name, String val) throws IOException
TextResponseWriterwriteBool in class TextResponseWriterIOExceptionpublic void writeFloat(String name, String val) throws IOException
TextResponseWriterwriteFloat in class TextResponseWriterIOExceptionpublic void writeFloat(String name, float val) throws IOException
writeFloat in class TextResponseWriterIOExceptionpublic void writeDouble(String name, String val) throws IOException
TextResponseWriterwriteDouble in class TextResponseWriterIOExceptionpublic void writeDouble(String name, double val) throws IOException
writeDouble in class TextResponseWriterIOExceptionpublic void writeDate(String name, String val) throws IOException
TextResponseWriterwriteDate in class TextResponseWriterIOExceptionpublic void writeStartDocumentList(String name, long start, int size, long numFound, Float maxScore) throws IOException
writeStartDocumentList in class TextResponseWriterIOExceptionpublic void writeSolrDocument(String name, SolrDocument doc, ReturnFields returnFields, int idx) throws IOException
writeSolrDocument in class TextResponseWriterIOExceptionpublic void writeEndDocumentList()
throws IOException
writeEndDocumentList in class TextResponseWriterIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.