|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
javax.faces.context.ResponseWriter
org.apache.shale.remoting.faces.BasicResponseWriter
public class BasicResponseWriter
Basic implementation of javax.faces.context.ResponseWriter
for use when a content type other than text/html
is desired
(such as text/xml
).
Field Summary |
---|
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
BasicResponseWriter(java.io.Writer writer,
java.lang.String contentType,
java.lang.String characterEncoding)
Create a new instance configured with the specified properties. |
Method Summary | |
---|---|
javax.faces.context.ResponseWriter |
cloneWithWriter(java.io.Writer writer)
|
void |
close()
|
void |
endDocument()
|
void |
endElement(java.lang.String name)
|
void |
flush()
|
java.lang.String |
getCharacterEncoding()
|
java.lang.String |
getContentType()
|
void |
startDocument()
|
void |
startElement(java.lang.String name,
javax.faces.component.UIComponent component)
|
void |
write(char[] cbuf,
int off,
int len)
|
void |
writeAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String property)
|
void |
writeComment(java.lang.Object comment)
|
void |
writeText(char[] text,
int off,
int len)
|
void |
writeText(java.lang.Object text,
java.lang.String property)
|
void |
writeURIAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String property)
|
Methods inherited from class java.io.Writer |
---|
append, append, append, write, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicResponseWriter(java.io.Writer writer, java.lang.String contentType, java.lang.String characterEncoding)
Create a new instance configured with the specified properties.
writer
- Writer
to be wrappedcontentType
- Content type of this responsecharacterEncoding
- Character encoding of thie responseMethod Detail |
---|
public javax.faces.context.ResponseWriter cloneWithWriter(java.io.Writer writer)
cloneWithWriter
in class javax.faces.context.ResponseWriter
public void endDocument() throws java.io.IOException
endDocument
in class javax.faces.context.ResponseWriter
java.io.IOException
public void endElement(java.lang.String name) throws java.io.IOException
endElement
in class javax.faces.context.ResponseWriter
java.io.IOException
public java.lang.String getCharacterEncoding()
getCharacterEncoding
in class javax.faces.context.ResponseWriter
public java.lang.String getContentType()
getContentType
in class javax.faces.context.ResponseWriter
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class javax.faces.context.ResponseWriter
java.io.IOException
public void startDocument() throws java.io.IOException
startDocument
in class javax.faces.context.ResponseWriter
java.io.IOException
public void startElement(java.lang.String name, javax.faces.component.UIComponent component) throws java.io.IOException
startElement
in class javax.faces.context.ResponseWriter
java.io.IOException
public void writeAttribute(java.lang.String name, java.lang.Object value, java.lang.String property) throws java.io.IOException
writeAttribute
in class javax.faces.context.ResponseWriter
java.io.IOException
public void writeComment(java.lang.Object comment) throws java.io.IOException
writeComment
in class javax.faces.context.ResponseWriter
java.io.IOException
public void writeText(java.lang.Object text, java.lang.String property) throws java.io.IOException
writeText
in class javax.faces.context.ResponseWriter
java.io.IOException
public void writeText(char[] text, int off, int len) throws java.io.IOException
writeText
in class javax.faces.context.ResponseWriter
java.io.IOException
public void writeURIAttribute(java.lang.String name, java.lang.Object value, java.lang.String property) throws java.io.IOException
writeURIAttribute
in class javax.faces.context.ResponseWriter
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.Writer
java.io.IOException
public void write(char[] cbuf, int off, int len) throws java.io.IOException
write
in class java.io.Writer
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |