| java.lang.Object org.apache.solr.request.TextResponseWriter
TextResponseWriter | abstract public class TextResponseWriter (Code) | | Base class for text-oriented response writers.
author: yonik version: $Id$ |
Method Summary | |
public int | decLevel() | public Writer | getWriter() | public int | incLevel() | public void | indent() | public void | indent(int lev) | public int | level() | public void | setIndent(boolean doIndent) | public void | setLevel(int level) | abstract public void | writeArray(String name, Object[] val) | abstract public void | writeArray(String name, Iterator val) | abstract public void | writeBool(String name, String val) | public void | writeBool(String name, boolean val) | abstract public void | writeDate(String name, Date val) | abstract public void | writeDate(String name, String val) | abstract public void | writeDoc(String name, Document doc, Set<String> returnFields, float score, boolean includeScore) | abstract public void | writeDocList(String name, DocList ids, Set<String> fields, Map otherFields) | abstract public void | writeDouble(String name, String val) | public void | writeDouble(String name, double val) | abstract public void | writeFloat(String name, String val) | public void | writeFloat(String name, float val) | abstract public void | writeInt(String name, String val) | public void | writeInt(String name, int val) | abstract public void | writeLong(String name, String val) | public void | writeLong(String name, long val) | abstract public void | writeMap(String name, Map val, boolean excludeOuter, boolean isFirstVal) | abstract public void | writeNamedList(String name, NamedList val) | abstract public void | writeNull(String name) | abstract public void | writeStr(String name, String val, boolean needsEscaping) | public void | writeVal(String name, Object val) |
doIndent | protected boolean doIndent(Code) | | |
level | protected int level(Code) | | |
decLevel | public int decLevel()(Code) | | |
getWriter | public Writer getWriter()(Code) | | returns the Writer that the response is being written to
|
incLevel | public int incLevel()(Code) | | |
setIndent | public void setIndent(boolean doIndent)(Code) | | |
setLevel | public void setLevel(int level)(Code) | | |
writeBool | abstract public void writeBool(String name, String val) throws IOException(Code) | | if this form of the method is called, val is the Java string form of a boolean
|
writeDate | abstract public void writeDate(String name, String val) throws IOException(Code) | | if this form of the method is called, val is the Solr ISO8601 based date format
|
writeDouble | abstract public void writeDouble(String name, String val) throws IOException(Code) | | if this form of the method is called, val is the Java string form of a double
|
writeFloat | abstract public void writeFloat(String name, String val) throws IOException(Code) | | if this form of the method is called, val is the Java string form of a float
|
writeInt | abstract public void writeInt(String name, String val) throws IOException(Code) | | if this form of the method is called, val is the Java string form of an int
|
writeLong | abstract public void writeLong(String name, String val) throws IOException(Code) | | if this form of the method is called, val is the Java string form of a long
|
|
|