Package com.webmethods.caf.faces.render
Class PassthruResponseWriter
java.lang.Object
java.io.Writer
javax.faces.context.ResponseWriter
com.webmethods.caf.faces.render.PassthruResponseWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
ResponseWriter which passes all text directly to the underlying writer.
If no underlying writer is specified, it eats the text.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend
(char c) append
(CharSequence csq) append
(CharSequence csq, int start, int end) cloneWithWriter
(Writer writer) void
close()
void
void
endElement
(String name) void
flush()
void
setWrapped
(Writer wrapped) void
void
startElement
(String name, UIComponent component) void
write
(char[] cbuf) void
write
(char[] cbuf, int off, int len) void
write
(int c) void
void
void
writeAttribute
(String name, Object value, String property) void
writeComment
(Object comment) void
writeText
(char[] text, int off, int len) void
void
writeURIAttribute
(String name, Object value, String property) Methods inherited from class javax.faces.context.ResponseWriter
endCDATA, startCDATA, writeDoctype, writePreamble, writeText
Methods inherited from class java.io.Writer
nullWriter
-
Field Details
-
m_wrapped
-
-
Constructor Details
-
PassthruResponseWriter
public PassthruResponseWriter() -
PassthruResponseWriter
-
-
Method Details
-
append
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classWriter
- Throws:
IOException
-
append
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classWriter
- Throws:
IOException
-
append
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classWriter
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classResponseWriter
- Throws:
IOException
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
cloneWithWriter
- Specified by:
cloneWithWriter
in classResponseWriter
-
endDocument
- Specified by:
endDocument
in classResponseWriter
- Throws:
IOException
-
endElement
- Specified by:
endElement
in classResponseWriter
- Throws:
IOException
-
getCharacterEncoding
- Specified by:
getCharacterEncoding
in classResponseWriter
-
getContentType
- Specified by:
getContentType
in classResponseWriter
-
startDocument
- Specified by:
startDocument
in classResponseWriter
- Throws:
IOException
-
startElement
- Specified by:
startElement
in classResponseWriter
- Throws:
IOException
-
writeAttribute
- Specified by:
writeAttribute
in classResponseWriter
- Throws:
IOException
-
writeComment
- Specified by:
writeComment
in classResponseWriter
- Throws:
IOException
-
writeText
- Specified by:
writeText
in classResponseWriter
- Throws:
IOException
-
writeText
- Specified by:
writeText
in classResponseWriter
- Throws:
IOException
-
writeURIAttribute
- Specified by:
writeURIAttribute
in classResponseWriter
- Throws:
IOException
-
getWrapped
-
setWrapped
-