Package org.eclnt.jsfserver.util
Class XMLResponseWriter
java.lang.Object
java.io.Writer
javax.faces.context.ResponseWriter
org.eclnt.jsfserver.util.XMLResponseWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
public class XMLResponseWriter
extends javax.faces.context.ResponseWriter
Writer to an XML stream with some convenience methods.
-
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 componentForElement) voidwrite(char cbuf) voidwrite(char[] cbuf, int off, int len) voidwrite(int c) voidvoidvoidwriteAttribute(String name, Object value, String componentPropertyName) voidwriteComment(Object comment) voidwriteText(char text) voidwriteText(char[] text) voidwriteText(char[] text, int off, int len) voidvoidwriteURIAttribute(String name, Object value, String componentPropertyName) Methods inherited from class javax.faces.context.ResponseWriter
endCDATA, startCDATA, writeDoctype, writePreamble, writeText
-
Constructor Details
-
XMLResponseWriter
- Throws:
javax.faces.FacesException
-
-
Method Details
-
getContentType
- Specified by:
getContentTypein classjavax.faces.context.ResponseWriter
-
getCharacterEncoding
- Specified by:
getCharacterEncodingin classjavax.faces.context.ResponseWriter
-
startDocument
- Specified by:
startDocumentin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
endDocument
- Specified by:
endDocumentin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
startElement
public void startElement(String name, javax.faces.component.UIComponent componentForElement) throws IOException - Specified by:
startElementin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
endElement
- Specified by:
endElementin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
writeAttribute
public void writeAttribute(String name, Object value, String componentPropertyName) throws IOException - Specified by:
writeAttributein classjavax.faces.context.ResponseWriter- Throws:
IOException
-
writeURIAttribute
public void writeURIAttribute(String name, Object value, String componentPropertyName) throws IOException - 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
- Throws:
IOException
-
writeText
- Throws:
IOException
-
writeText
- Specified by:
writeTextin classjavax.faces.context.ResponseWriter- Throws:
IOException
-
cloneWithWriter
- Specified by:
cloneWithWriterin classjavax.faces.context.ResponseWriter
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-