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.ResponseWriterWrapperjava.io.IOExceptionpublic void endElement(java.lang.String name)
throws java.io.IOException
endElement in class javax.faces.context.ResponseWriterWrapperjava.io.IOExceptionpublic void endDocument()
throws java.io.IOException
endDocument in class javax.faces.context.ResponseWriterWrapperjava.io.IOExceptionpublic void startCDATA()
throws java.io.IOException
startCDATA in class javax.faces.context.ResponseWriterWrapperjava.io.IOExceptionpublic void startDocument()
throws java.io.IOException
startDocument in class javax.faces.context.ResponseWriterWrapperjava.io.IOExceptionpublic void startElement(java.lang.String name,
javax.faces.component.UIComponent component)
throws java.io.IOException
startElement in class javax.faces.context.ResponseWriterWrapperjava.io.IOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
write in class javax.faces.context.ResponseWriterWrapperjava.io.IOExceptionpublic void writeAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String property)
throws java.io.IOException
writeAttribute in class javax.faces.context.ResponseWriterWrapperjava.io.IOExceptionpublic void writeComment(java.lang.Object comment)
throws java.io.IOException
writeComment in class javax.faces.context.ResponseWriterWrapperjava.io.IOExceptionpublic void writeText(char[] text,
int off,
int len)
throws java.io.IOException
writeText in class javax.faces.context.ResponseWriterWrapperjava.io.IOExceptionpublic void writeText(java.lang.Object text,
java.lang.String property)
throws java.io.IOException
writeText in class javax.faces.context.ResponseWriterWrapperjava.io.IOExceptionpublic 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.ResponseWriterWrapperjava.io.IOExceptionpublic void writeURIAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String property)
throws java.io.IOException
writeURIAttribute in class javax.faces.context.ResponseWriterWrapperjava.io.IOExceptionpublic java.io.Writer append(char c)
throws java.io.IOException
append in interface java.lang.Appendableappend in class java.io.Writerjava.io.IOExceptionpublic java.io.Writer append(java.lang.CharSequence csq)
throws java.io.IOException
append in interface java.lang.Appendableappend in class java.io.Writerjava.io.IOExceptionpublic java.io.Writer append(java.lang.CharSequence csq,
int start,
int end)
throws java.io.IOException
append in interface java.lang.Appendableappend in class java.io.Writerjava.io.IOExceptionpublic void write(char[] cbuf)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(int c)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(java.lang.String str)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic javax.faces.context.ResponseWriter getWrapped()
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>getWrapped in class javax.faces.context.ResponseWriterWrapper