org.apache.myfaces.wap.renderkit
Class WmlResponseWriterImpl

java.lang.Object
  extended byjava.io.Writer
      extended byjavax.faces.context.ResponseWriter
          extended byorg.apache.myfaces.wap.renderkit.WmlResponseWriterImpl

public class WmlResponseWriterImpl
extends javax.faces.context.ResponseWriter

Version:
$Revision: 1.1 $ $Date: 2004/12/30 09:37:27 $ $Log: WmlResponseWriterImpl.java,v $ Revision 1.1 2004/12/30 09:37:27 matzew added a new RenderKit for WML. Thanks to Jirí Žaloudek
Author:
Jiri Zaloudek (latest modification by $Author: matzew $)

Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
WmlResponseWriterImpl(java.io.Writer writer, java.lang.String contentType, java.lang.String characterEncoding)
          Creates a new instance of WmlResponseWriter
 
Method Summary
 javax.faces.context.ResponseWriter cloneWithWriter(java.io.Writer writer)
           
 void close()
           
 void endDocument()
           
 void endElement(java.lang.String name)
           
 void flush()
           
 java.lang.String getCharacterEncoding()
           
 java.lang.String getContentType()
           
 void startDocument()
           
 void startElement(java.lang.String name, javax.faces.component.UIComponent uIComponent)
           
 void write(char[] cbuf)
           
 void write(char[] cbuf, int off, int len)
           
 void write(int c)
           
 void writeAttribute(java.lang.String name, java.lang.Object value, java.lang.String componentPropertyName)
           
 void writeComment(java.lang.Object value)
           
 void writeText(char[] cbuf, int off, int len)
           
 void writeText(java.lang.Object value, java.lang.String componentPropertyName)
           
 void writeURIAttribute(java.lang.String name, java.lang.Object value, java.lang.String componentPropertyName)
           
 
Methods inherited from class java.io.Writer
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WmlResponseWriterImpl

public WmlResponseWriterImpl(java.io.Writer writer,
                             java.lang.String contentType,
                             java.lang.String characterEncoding)
Creates a new instance of WmlResponseWriter

Method Detail

cloneWithWriter

public javax.faces.context.ResponseWriter cloneWithWriter(java.io.Writer writer)

startElement

public void startElement(java.lang.String name,
                         javax.faces.component.UIComponent uIComponent)
                  throws java.io.IOException
Throws:
java.io.IOException

endElement

public void endElement(java.lang.String name)
                throws java.io.IOException
Throws:
java.io.IOException

writeText

public void writeText(java.lang.Object value,
                      java.lang.String componentPropertyName)
               throws java.io.IOException
Throws:
java.io.IOException

writeText

public void writeText(char[] cbuf,
                      int off,
                      int len)
               throws java.io.IOException
Throws:
java.io.IOException

writeComment

public void writeComment(java.lang.Object value)
                  throws java.io.IOException
Throws:
java.io.IOException

writeAttribute

public void writeAttribute(java.lang.String name,
                           java.lang.Object value,
                           java.lang.String componentPropertyName)
                    throws java.io.IOException
Throws:
java.io.IOException

getContentType

public java.lang.String getContentType()

getCharacterEncoding

public java.lang.String getCharacterEncoding()

startDocument

public void startDocument()
                   throws java.io.IOException
Throws:
java.io.IOException

endDocument

public void endDocument()
                 throws java.io.IOException
Throws:
java.io.IOException

writeURIAttribute

public void writeURIAttribute(java.lang.String name,
                              java.lang.Object value,
                              java.lang.String componentPropertyName)
                       throws java.io.IOException
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(int c)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(char[] cbuf)
           throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException