public class ConditionalResponseWriter
extends javax.faces.context.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(javax.faces.context.ResponseWriter responseWriter,
javax.faces.context.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) |
javax.faces.context.ResponseWriter |
getWrapped() |
void |
startCDATA() |
void |
startDocument() |
void |
startElement(String name,
javax.faces.component.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,
javax.faces.component.UIComponent component,
String property) |
void |
writeURIAttribute(String name,
Object value,
String property) |
public void endCDATA()
throws IOException
endCDATA in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void endElement(String name) throws IOException
endElement in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void endDocument()
throws IOException
endDocument in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void startCDATA()
throws IOException
startCDATA in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void startDocument()
throws IOException
startDocument in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void startElement(String name, javax.faces.component.UIComponent component) throws IOException
startElement in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeAttribute(String name, Object value, String property) throws IOException
writeAttribute in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeComment(Object comment) throws IOException
writeComment in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeText(char[] text,
int off,
int len)
throws IOException
writeText in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeText(Object text, String property) throws IOException
writeText in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeText(Object text, javax.faces.component.UIComponent component, String property) throws IOException
writeText in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeURIAttribute(String name, Object value, String property) throws IOException
writeURIAttribute in class javax.faces.context.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 javax.faces.context.ResponseWriter getWrapped()
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>getWrapped in class javax.faces.context.ResponseWriterWrapperCopyright © 2012–2014 OmniFaces. All rights reserved.