Package org.apache.empire.jsf2.utils
Class StringResponseWriter
java.lang.Object
java.io.Writer
javax.faces.context.ResponseWriter
org.apache.empire.jsf2.utils.StringResponseWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
public class StringResponseWriter
extends javax.faces.context.ResponseWriter
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.faces.context.ResponseWritercloneWithWriter(Writer writer) voidclose()voidvoidendElement(String name) voidflush()voidvoidstartElement(String name, javax.faces.component.UIComponent component) toString()voidwrite(char[] cbuf, int off, int len) voidwriteAttribute(String name, Object value, String property) voidwriteComment(Object comment) voidwriteText(char[] text, int off, int len) voidvoidwriteURIAttribute(String name, Object value, String property) Methods inherited from class javax.faces.context.ResponseWriter
endCDATA, startCDATA, writeDoctype, writePreamble, writeText
-
Constructor Details
-
StringResponseWriter
public StringResponseWriter()
-
-
Method Details
-
getContentType
- Specified by:
getContentTypein classjavax.faces.context.ResponseWriter
-
getCharacterEncoding
- Specified by:
getCharacterEncodingin classjavax.faces.context.ResponseWriter
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
startDocument
- Specified by:
startDocumentin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
endDocument
- Specified by:
endDocumentin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
startElement
public void startElement(String name, javax.faces.component.UIComponent component) throws IOException - Specified by:
startElementin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
endElement
- Specified by:
endElementin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
writeAttribute
- Specified by:
writeAttributein classjavax.faces.context.ResponseWriter- Throws:
IOException
-
writeURIAttribute
- Specified by:
writeURIAttributein classjavax.faces.context.ResponseWriter- Throws:
IOException
-
writeComment
- Specified by:
writeCommentin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
writeText
- Specified by:
writeTextin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
writeText
- Specified by:
writeTextin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
cloneWithWriter
- Specified by:
cloneWithWriterin classjavax.faces.context.ResponseWriter
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
toString
-