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 ResponseWritercloneWithWriter(Writer writer) voidendCDATA()abstract voidabstract voidendElement(String name) abstract voidflush()abstract Stringabstract Stringvoidabstract voidabstract voidstartElement(String name, UIComponent component) abstract voidwriteAttribute(String name, Object value, String property) abstract voidwriteComment(Object comment) voidwriteDoctype(String doctype) voidwritePreamble(String preamble) abstract voidwriteText(char[] text, int off, int len) voidwriteText(Object object, UIComponent component, String string) abstract voidabstract voidwriteURIAttribute(String name, Object value, String property)
-
Constructor Details
-
ResponseWriter
public ResponseWriter()
-
-
Method Details
-
getContentType
-
getCharacterEncoding
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin 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
-