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,
java.util.List<java.lang.String> componentIds,
java.util.List<java.lang.String> clientIds,
boolean renderChildren) |
Modifier and Type | Method and Description |
---|---|
java.io.Writer |
append(char c) |
java.io.Writer |
append(java.lang.CharSequence csq) |
java.io.Writer |
append(java.lang.CharSequence csq,
int start,
int end) |
void |
endCDATA() |
void |
endDocument() |
void |
endElement(java.lang.String name) |
javax.faces.context.ResponseWriter |
getWrapped() |
void |
startCDATA() |
void |
startDocument() |
void |
startElement(java.lang.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(java.lang.String str) |
void |
write(java.lang.String str,
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 |
writeText(java.lang.Object text,
javax.faces.component.UIComponent component,
java.lang.String property) |
void |
writeURIAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String property) |
public ConditionalResponseWriter(javax.faces.context.ResponseWriter responseWriter, javax.faces.context.FacesContext facesContext, java.util.List<java.lang.String> componentIds, java.util.List<java.lang.String> clientIds, boolean renderChildren)
public void endCDATA() throws java.io.IOException
endCDATA
in class javax.faces.context.ResponseWriterWrapper
java.io.IOException
public void endElement(java.lang.String name) throws java.io.IOException
endElement
in class javax.faces.context.ResponseWriterWrapper
java.io.IOException
public void endDocument() throws java.io.IOException
endDocument
in class javax.faces.context.ResponseWriterWrapper
java.io.IOException
public void startCDATA() throws java.io.IOException
startCDATA
in class javax.faces.context.ResponseWriterWrapper
java.io.IOException
public void startDocument() throws java.io.IOException
startDocument
in class javax.faces.context.ResponseWriterWrapper
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.ResponseWriterWrapper
java.io.IOException
public void write(char[] cbuf, int off, int len) throws java.io.IOException
write
in class javax.faces.context.ResponseWriterWrapper
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.ResponseWriterWrapper
java.io.IOException
public void writeComment(java.lang.Object comment) throws java.io.IOException
writeComment
in class javax.faces.context.ResponseWriterWrapper
java.io.IOException
public void writeText(char[] text, int off, int len) throws java.io.IOException
writeText
in class javax.faces.context.ResponseWriterWrapper
java.io.IOException
public void writeText(java.lang.Object text, java.lang.String property) throws java.io.IOException
writeText
in class javax.faces.context.ResponseWriterWrapper
java.io.IOException
public void writeText(java.lang.Object text, javax.faces.component.UIComponent component, java.lang.String property) throws java.io.IOException
writeText
in class javax.faces.context.ResponseWriterWrapper
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.ResponseWriterWrapper
java.io.IOException
public java.io.Writer append(char c) throws java.io.IOException
append
in interface java.lang.Appendable
append
in class java.io.Writer
java.io.IOException
public java.io.Writer append(java.lang.CharSequence csq) throws java.io.IOException
append
in interface java.lang.Appendable
append
in class java.io.Writer
java.io.IOException
public java.io.Writer append(java.lang.CharSequence csq, int start, int end) throws java.io.IOException
append
in interface java.lang.Appendable
append
in class java.io.Writer
java.io.IOException
public void write(char[] cbuf) throws java.io.IOException
write
in class java.io.Writer
java.io.IOException
public void write(int c) throws java.io.IOException
write
in class java.io.Writer
java.io.IOException
public void write(java.lang.String str) throws java.io.IOException
write
in class java.io.Writer
java.io.IOException
public void write(java.lang.String str, int off, int len) throws java.io.IOException
write
in class java.io.Writer
java.io.IOException
public javax.faces.context.ResponseWriter getWrapped()
getWrapped
in interface javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>
getWrapped
in class javax.faces.context.ResponseWriterWrapper