Java Doc for TextResponseWriter.java in  » Search-Engine » apache-solr-1.2.0 » org » apache » solr » request » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Search Engine » apache solr 1.2.0 » org.apache.solr.request 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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$


Field Summary
protected  booleandoIndent
    
protected  intlevel
    
final protected  SolrQueryRequestreq
    
protected  Set<String>returnFields
    
final protected  SolrQueryResponsersp
    
final protected  IndexSchemaschema
    
final protected  Writerwriter
    

Constructor Summary
public  TextResponseWriter(Writer writer, SolrQueryRequest req, SolrQueryResponse rsp)
    

Method Summary
public  intdecLevel()
    
public  WritergetWriter()
    
public  intincLevel()
    
public  voidindent()
    
public  voidindent(int lev)
    
public  intlevel()
    
public  voidsetIndent(boolean doIndent)
    
public  voidsetLevel(int level)
    
abstract public  voidwriteArray(String name, Object[] val)
    
abstract public  voidwriteArray(String name, Iterator val)
    
abstract public  voidwriteBool(String name, String val)
    
public  voidwriteBool(String name, boolean val)
    
abstract public  voidwriteDate(String name, Date val)
    
abstract public  voidwriteDate(String name, String val)
    
abstract public  voidwriteDoc(String name, Document doc, Set<String> returnFields, float score, boolean includeScore)
    
abstract public  voidwriteDocList(String name, DocList ids, Set<String> fields, Map otherFields)
    
abstract public  voidwriteDouble(String name, String val)
    
public  voidwriteDouble(String name, double val)
    
abstract public  voidwriteFloat(String name, String val)
    
public  voidwriteFloat(String name, float val)
    
abstract public  voidwriteInt(String name, String val)
    
public  voidwriteInt(String name, int val)
    
abstract public  voidwriteLong(String name, String val)
    
public  voidwriteLong(String name, long val)
    
abstract public  voidwriteMap(String name, Map val, boolean excludeOuter, boolean isFirstVal)
    
abstract public  voidwriteNamedList(String name, NamedList val)
    
abstract public  voidwriteNull(String name)
    
abstract public  voidwriteStr(String name, String val, boolean needsEscaping)
    
public  voidwriteVal(String name, Object val)
    

Field Detail
doIndent
protected boolean doIndent(Code)



level
protected int level(Code)



req
final protected SolrQueryRequest req(Code)



returnFields
protected Set<String> returnFields(Code)



rsp
final protected SolrQueryResponse rsp(Code)



schema
final protected IndexSchema schema(Code)



writer
final protected Writer writer(Code)




Constructor Detail
TextResponseWriter
public TextResponseWriter(Writer writer, SolrQueryRequest req, SolrQueryResponse rsp)(Code)




Method Detail
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)



indent
public void indent() throws IOException(Code)



indent
public void indent(int lev) throws IOException(Code)



level
public int level()(Code)



setIndent
public void setIndent(boolean doIndent)(Code)



setLevel
public void setLevel(int level)(Code)



writeArray
abstract public void writeArray(String name, Object[] val) throws IOException(Code)



writeArray
abstract public void writeArray(String name, Iterator val) throws IOException(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



writeBool
public void writeBool(String name, boolean val) throws IOException(Code)



writeDate
abstract public void writeDate(String name, Date val) throws IOException(Code)



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



writeDoc
abstract public void writeDoc(String name, Document doc, Set<String> returnFields, float score, boolean includeScore) throws IOException(Code)



writeDocList
abstract public void writeDocList(String name, DocList ids, Set<String> fields, Map otherFields) throws IOException(Code)



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



writeDouble
public void writeDouble(String name, double val) throws IOException(Code)



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



writeFloat
public void writeFloat(String name, float val) throws IOException(Code)



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



writeInt
public void writeInt(String name, int val) throws IOException(Code)



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



writeLong
public void writeLong(String name, long val) throws IOException(Code)



writeMap
abstract public void writeMap(String name, Map val, boolean excludeOuter, boolean isFirstVal) throws IOException(Code)



writeNamedList
abstract public void writeNamedList(String name, NamedList val) throws IOException(Code)



writeNull
abstract public void writeNull(String name) throws IOException(Code)



writeStr
abstract public void writeStr(String name, String val, boolean needsEscaping) throws IOException(Code)



writeVal
public void writeVal(String name, Object val) throws IOException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.