org.apache.myfaces.tobago.internal.webapp
Class XmlResponseWriter

java.lang.Object
  extended by java.io.Writer
      extended by javax.faces.context.ResponseWriter
          extended by org.apache.myfaces.tobago.webapp.TobagoResponseWriter
              extended by org.apache.myfaces.tobago.internal.webapp.TobagoResponseWriterBase
                  extended by org.apache.myfaces.tobago.internal.webapp.XmlResponseWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable

public final class XmlResponseWriter
extends TobagoResponseWriterBase


Field Summary
 
Fields inherited from class org.apache.myfaces.tobago.internal.webapp.TobagoResponseWriterBase
EMPTY_TAG, XML_VERSION_1_0_ENCODING_UTF_8, XML_VERSION_1_0_ENCODING_UTF_8_CHARS, XML_VERSION_1_0_ENCODING_UTF_8_LENGTH
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
XmlResponseWriter(Writer writer, String contentType, String characterEncoding)
           
 
Method Summary
 javax.faces.context.ResponseWriter cloneWithWriter(Writer originalWriter)
           
 void closeEmptyTag()
           
 void endDocument()
           
 void startDocument()
           
 void write(char[] cbuf, int off, int len)
           
protected  void writerAttributeValue(String value, boolean escape)
           
 void writeText(char[] text, int offset, int length)
           
 void writeText(Object text, String property)
           
 
Methods inherited from class org.apache.myfaces.tobago.internal.webapp.TobagoResponseWriterBase
close, closeOpenTag, endElement, endElementInternal, findValue, flush, getCallingClassStackTraceElementString, getCharacterEncoding, getComponent, getContentType, getStyleClasses, getWriter, isStartStillOpen, setComponent, setStartStillOpen, startElement, startElementInternal, write, write, write, write, writeAttribute, writeAttribute, writeAttributeInternal, writeClassAttribute, writeComment, writeInternal, writeURIAttribute
 
Methods inherited from class org.apache.myfaces.tobago.webapp.TobagoResponseWriter
endJavascript, getContentTypeWithCharSet, startElement, startJavascript, writeAttribute, writeAttribute, writeAttributeFromComponent, writeClassAttribute, writeClassAttribute, writeClassAttribute, writeIdAttribute, writeJavascript, writeNameAttribute, writeStyleAttribute, writeStyleAttribute, writeText, writeTextFromComponent
 
Methods inherited from class javax.faces.context.ResponseWriter
writeText
 
Methods inherited from class java.io.Writer
append, append, append
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlResponseWriter

public XmlResponseWriter(Writer writer,
                         String contentType,
                         String characterEncoding)
Method Detail

writeText

public void writeText(Object text,
                      String property)
               throws IOException
Specified by:
writeText in class TobagoResponseWriter
Throws:
IOException

writeText

public void writeText(char[] text,
                      int offset,
                      int length)
               throws IOException
Specified by:
writeText in class javax.faces.context.ResponseWriter
Throws:
IOException

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class TobagoResponseWriterBase
Throws:
IOException

cloneWithWriter

public javax.faces.context.ResponseWriter cloneWithWriter(Writer originalWriter)
Specified by:
cloneWithWriter in class TobagoResponseWriter

closeEmptyTag

public void closeEmptyTag()
                   throws IOException
Specified by:
closeEmptyTag in class TobagoResponseWriterBase
Throws:
IOException

writerAttributeValue

protected void writerAttributeValue(String value,
                                    boolean escape)
                             throws IOException
Specified by:
writerAttributeValue in class TobagoResponseWriterBase
Throws:
IOException

startDocument

public void startDocument()
                   throws IOException
Overrides:
startDocument in class TobagoResponseWriterBase
Throws:
IOException

endDocument

public void endDocument()
                 throws IOException
Overrides:
endDocument in class TobagoResponseWriterBase
Throws:
IOException


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.