public class ConditionalResponseWriter extends ResponseWriterWrapper
ComponentIdParam component.
This allows rendering to proceed to the output if the current component matches any of the given ids, otherwise simply does not send anything to the output.
| Constructor and Description |
|---|
ConditionalResponseWriter(ResponseWriter responseWriter,
FacesContext facesContext,
List<String> componentIds,
List<String> clientIds,
boolean renderChildren) |
| Modifier and Type | Method and Description |
|---|---|
Writer |
append(char c) |
Writer |
append(CharSequence csq) |
Writer |
append(CharSequence csq,
int start,
int end) |
void |
endCDATA() |
void |
endDocument() |
void |
endElement(String name) |
ResponseWriter |
getWrapped() |
void |
startCDATA() |
void |
startDocument() |
void |
startElement(String name,
UIComponent component) |
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 property) |
void |
writeComment(Object comment) |
void |
writeText(char[] text,
int off,
int len) |
void |
writeText(Object text,
String property) |
void |
writeText(Object text,
UIComponent component,
String property) |
void |
writeURIAttribute(String name,
Object value,
String property) |
cloneWithWriter, close, flush, getCharacterEncoding, getContentTypepublic ConditionalResponseWriter(ResponseWriter responseWriter, FacesContext facesContext, List<String> componentIds, List<String> clientIds, boolean renderChildren)
public void endCDATA()
throws IOException
endCDATA in class ResponseWriterWrapperIOExceptionpublic void endElement(String name) throws IOException
endElement in class ResponseWriterWrapperIOExceptionpublic void endDocument()
throws IOException
endDocument in class ResponseWriterWrapperIOExceptionpublic void startCDATA()
throws IOException
startCDATA in class ResponseWriterWrapperIOExceptionpublic void startDocument()
throws IOException
startDocument in class ResponseWriterWrapperIOExceptionpublic void startElement(String name, UIComponent component) throws IOException
startElement in class ResponseWriterWrapperIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class ResponseWriterWrapperIOExceptionpublic void writeAttribute(String name, Object value, String property) throws IOException
writeAttribute in class ResponseWriterWrapperIOExceptionpublic void writeComment(Object comment) throws IOException
writeComment in class ResponseWriterWrapperIOExceptionpublic void writeText(char[] text,
int off,
int len)
throws IOException
writeText in class ResponseWriterWrapperIOExceptionpublic void writeText(Object text, String property) throws IOException
writeText in class ResponseWriterWrapperIOExceptionpublic void writeText(Object text, UIComponent component, String property) throws IOException
writeText in class ResponseWriterWrapperIOExceptionpublic void writeURIAttribute(String name, Object value, String property) throws IOException
writeURIAttribute in class ResponseWriterWrapperIOExceptionpublic Writer append(char c) throws IOException
append in interface Appendableappend in class WriterIOExceptionpublic Writer append(CharSequence csq) throws IOException
append in interface Appendableappend in class WriterIOExceptionpublic Writer append(CharSequence csq, int start, int end) throws IOException
append in interface Appendableappend in class WriterIOExceptionpublic void write(char[] cbuf)
throws IOException
write in class WriterIOExceptionpublic void write(int c)
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 ResponseWriter getWrapped()
getWrapped in interface FacesWrapper<ResponseWriter>getWrapped in class ResponseWriterWrapper