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
 
 public abstract class ResponseWriter extends Writer see Javadoc of Faces Specification
- 
- 
Constructor SummaryConstructors Constructor Description ResponseWriter()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ResponseWritercloneWithWriter(Writer writer)voidendCDATA()abstract voidendDocument()abstract voidendElement(String name)abstract voidflush()abstract StringgetCharacterEncoding()abstract StringgetContentType()voidstartCDATA()abstract voidstartDocument()abstract 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 voidwriteText(Object text, String property)abstract voidwriteURIAttribute(String name, Object value, String property)
 
- 
- 
- 
Method Detail- 
getContentTypepublic abstract String getContentType() 
 - 
getCharacterEncodingpublic abstract String getCharacterEncoding() 
 - 
flushpublic abstract void flush() throws IOException- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin class- Writer
- Throws:
- IOException
 
 - 
startDocumentpublic abstract void startDocument() throws IOException- Throws:
- IOException
 
 - 
endDocumentpublic abstract void endDocument() throws IOException- Throws:
- IOException
 
 - 
startElementpublic abstract void startElement(String name, UIComponent component) throws IOException - Throws:
- IOException
 
 - 
endElementpublic abstract void endElement(String name) throws IOException - Throws:
- IOException
 
 - 
startCDATApublic void startCDATA() throws IOException- Throws:
- IOException
 
 - 
endCDATApublic void endCDATA() throws IOException- Throws:
- IOException
 
 - 
writeAttributepublic abstract void writeAttribute(String name, Object value, String property) throws IOException - Throws:
- IOException
 
 - 
writeURIAttributepublic abstract void writeURIAttribute(String name, Object value, String property) throws IOException - Throws:
- IOException
 
 - 
writeCommentpublic abstract void writeComment(Object comment) throws IOException - Throws:
- IOException
 
 - 
writeTextpublic abstract void writeText(Object text, String property) throws IOException - Throws:
- IOException
 
 - 
writeTextpublic abstract void writeText(char[] text, int off, int len) throws IOException- Throws:
- IOException
 
 - 
cloneWithWriterpublic abstract ResponseWriter cloneWithWriter(Writer writer) 
 - 
writeTextpublic void writeText(Object object, UIComponent component, String string) throws IOException - Throws:
- IOException
- Since:
- 1.2
 
 - 
writePreamblepublic void writePreamble(String preamble) throws IOException - Parameters:
- preamble-
- Throws:
- IOException
- Since:
- 2.2
 
 - 
writeDoctypepublic void writeDoctype(String doctype) throws IOException - Parameters:
- doctype-
- Throws:
- IOException
- Since:
- 2.2
 
 
- 
 
-