当前页面: 
在线文档首页 > 
JBoss Seam  1.2.0 API 英文版文档
MockResponseWriter (JBoss Seam API Documentation) - JBoss Seam  1.2.0 API 英文版文档
org.jboss.seam.mock
Class MockResponseWriter
java.lang.Object
   java.io.Writer
java.io.Writer
       javax.faces.context.ResponseWriter
javax.faces.context.ResponseWriter
           org.jboss.seam.mock.MockResponseWriter
org.jboss.seam.mock.MockResponseWriter
- All Implemented Interfaces: 
- Closeable, Flushable, Appendable
- public class MockResponseWriter 
- extends javax.faces.context.ResponseWriter
 
 
 
| Method Summary | 
|  javax.faces.context.ResponseWriter | cloneWithWriter(Writer writer)
 | 
|  void | close()
 | 
|  void | endDocument()
 | 
|  void | endElement(String element)
 | 
|  void | flush()
 | 
|  String | getCharacterEncoding()
 | 
|  String | getContentType()
 | 
|  void | startDocument()
 | 
|  void | startElement(String element,
             javax.faces.component.UIComponent component)
 | 
|  void | write(char[] chars,
      int start,
      int end)
 | 
|  void | writeAttribute(String attribute,
               Object object,
               String string)
 | 
|  void | writeComment(Object object)
 | 
|  void | writeText(char[] chars,
          int start,
          int end)
 | 
|  void | writeText(Object text,
          String string)
 | 
|  void | writeURIAttribute(String attribute,
                  Object object,
                  String string)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MockResponseWriter
public MockResponseWriter()
cloneWithWriter
public javax.faces.context.ResponseWriter cloneWithWriter(Writer writer)
- 
- Specified by:
- cloneWithWriterin class- javax.faces.context.ResponseWriter
 
- 
 
endDocument
public void endDocument()
                 throws IOException
- 
- Specified by:
- endDocumentin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
endElement
public void endElement(String element)
                throws IOException
- 
- Specified by:
- endElementin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
flush
public void flush()
           throws IOException
- 
- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
getCharacterEncoding
public String getCharacterEncoding()
- 
- Specified by:
- getCharacterEncodingin class- javax.faces.context.ResponseWriter
 
- 
 
getContentType
public String getContentType()
- 
- Specified by:
- getContentTypein class- javax.faces.context.ResponseWriter
 
- 
 
startDocument
public void startDocument()
                   throws IOException
- 
- Specified by:
- startDocumentin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
startElement
public void startElement(String element,
                         javax.faces.component.UIComponent component)
                  throws IOException
- 
- Specified by:
- startElementin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeAttribute
public void writeAttribute(String attribute,
                           Object object,
                           String string)
                    throws IOException
- 
- Specified by:
- writeAttributein class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeComment
public void writeComment(Object object)
                  throws IOException
- 
- Specified by:
- writeCommentin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeText
public void writeText(Object text,
                      String string)
               throws IOException
- 
- Specified by:
- writeTextin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeText
public void writeText(char[] chars,
                      int start,
                      int end)
               throws IOException
- 
- Specified by:
- writeTextin class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
writeURIAttribute
public void writeURIAttribute(String attribute,
                              Object object,
                              String string)
                       throws IOException
- 
- Specified by:
- writeURIAttributein class- javax.faces.context.ResponseWriter
 
- 
- Throws:
- IOException
 
close
public void close()
           throws IOException
- 
- Specified by:
- closein interface- Closeable
- Specified by:
- closein class- Writer
 
- 
- Throws:
- IOException
 
write
public void write(char[] chars,
                  int start,
                  int end)
           throws IOException
- 
- Specified by:
- writein class- Writer
 
- 
- Throws:
- IOException