|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Writer javax.faces.context.ResponseWriter net.sourceforge.smile.context.ResponseWriterImpl
This is the Writer implementation that is used in JSF components, to generate output, such as HTML. In order to support HTML / XML output this Writer has convenience operation to start elements(tags)/documents, write attributes, etc...
Constructor Summary | |
ResponseWriterImpl(java.io.Writer decorated)
Constructs a ResponseWriter, that is decorating a Writer object. |
Method Summary | |
void |
close()
|
void |
endDocument()
Our implementation does not assume it is rendering in any specific format. |
void |
endElement(java.lang.String name)
|
void |
flush()
|
void |
startDocument()
Our implementation does not assume it is rendering in any specific format. |
void |
startElement(java.lang.String name)
|
void |
write(char[] cbuf)
|
void |
write(char[] cbuf,
int off,
int len)
|
void |
write(int c)
|
void |
write(java.lang.String str)
|
void |
write(java.lang.String str,
int off,
int len)
|
void |
writeAttribute(java.lang.String name,
java.lang.Object value)
|
void |
writeComment(java.lang.Object comment)
|
void |
writeText(char c)
|
void |
writeText(char[] ca)
|
void |
writeText(char[] ca,
int offset,
int length)
Writes out a part of a character array. |
void |
writeText(java.lang.Object value)
|
void |
writeURIAttribute(java.lang.String name,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResponseWriterImpl(java.io.Writer decorated)
decorated
- The Writer implemetation to decorate.Method Detail |
public void startDocument() throws java.io.IOException
java.io.IOException
ResponseWriter.startDocument()
public void endDocument() throws java.io.IOException
java.io.IOException
ResponseWriter.endDocument()
public void startElement(java.lang.String name) throws java.io.IOException
java.io.IOException
ResponseWriter.startElement(java.lang.String)
public void endElement(java.lang.String name) throws java.io.IOException
java.io.IOException
ResponseWriter.endElement(java.lang.String)
public void writeAttribute(java.lang.String name, java.lang.Object value) throws java.io.IOException
java.io.IOException
ResponseWriter.writeAttribute(java.lang.String, java.lang.Object)
public void writeURIAttribute(java.lang.String name, java.lang.Object value) throws java.io.IOException
java.io.IOException
ResponseWriter.writeURIAttribute(java.lang.String, java.lang.Object)
public void writeComment(java.lang.Object comment) throws java.io.IOException
java.io.IOException
ResponseWriter.writeComment(java.lang.Object)
public void writeText(char c) throws java.io.IOException
java.io.IOException
ResponseWriter.writeText(char)
public void writeText(char[] ca, int offset, int length) throws java.io.IOException
java.io.IOException
ResponseWriter.writeText(char[], int, int)
public void writeText(char[] ca) throws java.io.IOException
java.io.IOException
ResponseWriter.writeText(char[])
public void writeText(java.lang.Object value) throws java.io.IOException
java.io.IOException
ResponseWriter.writeText(java.lang.Object)
public void close() throws java.io.IOException
java.io.IOException
Writer.close()
public void flush() throws java.io.IOException
java.io.IOException
Writer.flush()
public void write(char[] cbuf, int off, int len) throws java.io.IOException
java.io.IOException
Writer.write(char[], int, int)
public void write(char[] cbuf) throws java.io.IOException
java.io.IOException
public void write(int c) throws java.io.IOException
java.io.IOException
public void write(java.lang.String str, int off, int len) throws java.io.IOException
java.io.IOException
public void write(java.lang.String str) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |