public class HtmlResponseWriterImpl
extends javax.faces.context.ResponseWriter
| Constructor and Description |
|---|
HtmlResponseWriterImpl(Writer writer,
String contentType,
String characterEncoding) |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.context.ResponseWriter |
cloneWithWriter(Writer writer) |
void |
close() |
void |
endDocument() |
void |
endElement(String name) |
void |
flush() |
String |
getCharacterEncoding() |
String |
getContentType() |
void |
startDocument() |
void |
startElement(String name,
javax.faces.component.UIComponent uiComponent) |
static boolean |
supportsContentType(String contentType) |
void |
write(char[] cbuf) |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int c) |
void |
write(String str) |
void |
write(String str,
int off,
int len) |
void |
writeAttribute(String name,
Object value,
String componentPropertyName) |
void |
writeComment(Object value) |
void |
writeText(char[] cbuf,
int off,
int len) |
void |
writeText(Object value,
String componentPropertyName) |
void |
writeText(Object object,
javax.faces.component.UIComponent component,
String string)
This method ignores the
UIComponent provided and simply calls
writeText(Object,String) |
void |
writeURIAttribute(String name,
Object value,
String componentPropertyName) |
public static boolean supportsContentType(String contentType)
public String getContentType()
getContentType in class javax.faces.context.ResponseWriterpublic String getCharacterEncoding()
getCharacterEncoding in class javax.faces.context.ResponseWriterpublic void flush()
throws IOException
flush in interface Flushableflush in class javax.faces.context.ResponseWriterIOExceptionpublic void startDocument()
startDocument in class javax.faces.context.ResponseWriterpublic void endDocument()
throws IOException
endDocument in class javax.faces.context.ResponseWriterIOExceptionpublic void startElement(String name, javax.faces.component.UIComponent uiComponent) throws IOException
startElement in class javax.faces.context.ResponseWriterIOExceptionpublic void endElement(String name) throws IOException
endElement in class javax.faces.context.ResponseWriterIOExceptionpublic void writeAttribute(String name, Object value, String componentPropertyName) throws IOException
writeAttribute in class javax.faces.context.ResponseWriterIOExceptionpublic void writeURIAttribute(String name, Object value, String componentPropertyName) throws IOException
writeURIAttribute in class javax.faces.context.ResponseWriterIOExceptionpublic void writeComment(Object value) throws IOException
writeComment in class javax.faces.context.ResponseWriterIOExceptionpublic void writeText(Object value, String componentPropertyName) throws IOException
writeText in class javax.faces.context.ResponseWriterIOExceptionpublic void writeText(char[] cbuf,
int off,
int len)
throws IOException
writeText in class javax.faces.context.ResponseWriterIOExceptionpublic javax.faces.context.ResponseWriter cloneWithWriter(Writer writer)
cloneWithWriter in class javax.faces.context.ResponseWriterpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionpublic void write(int c)
throws IOException
write in class WriterIOExceptionpublic void write(char[] cbuf)
throws IOException
write in class WriterIOExceptionpublic void write(String str) throws IOException
write in class WriterIOExceptionpublic void write(String str, int off, int len) throws IOException
write in class WriterIOExceptionpublic void writeText(Object object, javax.faces.component.UIComponent component, String string) throws IOException
UIComponent provided and simply calls
writeText(Object,String)writeText in class javax.faces.context.ResponseWriterIOExceptionCopyright © 2013 Apache Software Foundation. All Rights Reserved.