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) |
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, getContentType, getWrapped, writeDoctype, writePreamble
public ConditionalResponseWriter(ResponseWriter responseWriter, FacesContext facesContext, List<String> componentIds, List<String> clientIds, boolean renderChildren)
public void endCDATA() throws IOException
endCDATA
in class ResponseWriterWrapper
IOException
public void endElement(String name) throws IOException
endElement
in class ResponseWriterWrapper
IOException
public void endDocument() throws IOException
endDocument
in class ResponseWriterWrapper
IOException
public void startCDATA() throws IOException
startCDATA
in class ResponseWriterWrapper
IOException
public void startDocument() throws IOException
startDocument
in class ResponseWriterWrapper
IOException
public void startElement(String name, UIComponent component) throws IOException
startElement
in class ResponseWriterWrapper
IOException
public void write(char[] cbuf, int off, int len) throws IOException
write
in class ResponseWriterWrapper
IOException
public void writeAttribute(String name, Object value, String property) throws IOException
writeAttribute
in class ResponseWriterWrapper
IOException
public void writeComment(Object comment) throws IOException
writeComment
in class ResponseWriterWrapper
IOException
public void writeText(char[] text, int off, int len) throws IOException
writeText
in class ResponseWriterWrapper
IOException
public void writeText(Object text, String property) throws IOException
writeText
in class ResponseWriterWrapper
IOException
public void writeText(Object text, UIComponent component, String property) throws IOException
writeText
in class ResponseWriterWrapper
IOException
public void writeURIAttribute(String name, Object value, String property) throws IOException
writeURIAttribute
in class ResponseWriterWrapper
IOException
public Writer append(char c) throws IOException
append
in interface Appendable
append
in class Writer
IOException
public Writer append(CharSequence csq) throws IOException
append
in interface Appendable
append
in class Writer
IOException
public Writer append(CharSequence csq, int start, int end) throws IOException
append
in interface Appendable
append
in class Writer
IOException
public void write(char[] cbuf) throws IOException
write
in class Writer
IOException
public void write(int c) throws IOException
write
in class Writer
IOException
public void write(String str) throws IOException
write
in class Writer
IOException
public void write(String str, int off, int len) throws IOException
write
in class Writer
IOException
Copyright © 2012–2021 OmniFaces. All rights reserved.