Package jakarta.faces.context
Class ResponseWriter
java.lang.Object
java.io.Writer
jakarta.faces.context.ResponseWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
- Direct Known Subclasses:
ResponseWriterWrapper
see Javadoc of Faces Specification
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ResponseWriter
cloneWithWriter
(Writer writer) void
endCDATA()
abstract void
abstract void
endElement
(String name) abstract void
flush()
abstract String
abstract String
void
abstract void
abstract void
startElement
(String name, UIComponent component) abstract void
writeAttribute
(String name, Object value, String property) abstract void
writeComment
(Object comment) void
writeDoctype
(String doctype) void
writePreamble
(String preamble) abstract void
writeText
(char[] text, int off, int len) void
writeText
(Object object, UIComponent component, String string) abstract void
abstract void
writeURIAttribute
(String name, Object value, String property)
-
Constructor Details
-
ResponseWriter
public ResponseWriter()
-
-
Method Details
-
getContentType
-
getCharacterEncoding
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
startDocument
- Throws:
IOException
-
endDocument
- Throws:
IOException
-
startElement
- Throws:
IOException
-
endElement
- Throws:
IOException
-
startCDATA
- Throws:
IOException
-
endCDATA
- Throws:
IOException
-
writeAttribute
- Throws:
IOException
-
writeURIAttribute
public abstract void writeURIAttribute(String name, Object value, String property) throws IOException - Throws:
IOException
-
writeComment
- Throws:
IOException
-
writeText
- Throws:
IOException
-
writeText
- Throws:
IOException
-
cloneWithWriter
-
writeText
- Throws:
IOException
- Since:
- 1.2
-
writePreamble
- Parameters:
preamble
-- Throws:
IOException
- Since:
- 2.2
-
writeDoctype
- Parameters:
doctype
-- Throws:
IOException
- Since:
- 2.2
-