org.jboss.seam.mock
public class MockResponseWriter extends javax.faces.context.ResponseWriter
| Constructor and Description |
|---|
MockResponseWriter() |
MockResponseWriter(Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.context.ResponseWriter |
cloneWithWriter(Writer writer) |
void |
close() |
void |
endDocument() |
void |
endElement(String element) |
void |
flush() |
String |
getCharacterEncoding() |
String |
getContentType() |
Writer |
getWriter() |
void |
startDocument() |
void |
startElement(String element,
javax.faces.component.UIComponent component) |
void |
write(char[] cbuf) |
void |
write(char[] chars,
int start,
int end) |
void |
write(int c) |
void |
write(String str) |
void |
write(String str,
int off,
int len) |
void |
writeAttribute(String attribute,
Object object,
String string) |
void |
writeComment(Object object) |
void |
writeText(char[] chars,
int start,
int end) |
void |
writeText(Object value,
String string) |
void |
writeURIAttribute(String attribute,
Object object,
String string) |
public MockResponseWriter(Writer writer)
public MockResponseWriter()
public javax.faces.context.ResponseWriter cloneWithWriter(Writer writer)
cloneWithWriter in class javax.faces.context.ResponseWriterpublic void endDocument()
throws IOException
endDocument in class javax.faces.context.ResponseWriterIOExceptionpublic void endElement(String element) throws IOException
endElement in class javax.faces.context.ResponseWriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class javax.faces.context.ResponseWriterIOExceptionpublic String getCharacterEncoding()
getCharacterEncoding in class javax.faces.context.ResponseWriterpublic String getContentType()
getContentType in class javax.faces.context.ResponseWriterpublic void startDocument()
throws IOException
startDocument in class javax.faces.context.ResponseWriterIOExceptionpublic void startElement(String element, javax.faces.component.UIComponent component) throws IOException
startElement in class javax.faces.context.ResponseWriterIOExceptionpublic void writeAttribute(String attribute, Object object, String string) throws IOException
writeAttribute in class javax.faces.context.ResponseWriterIOExceptionpublic void writeComment(Object object) throws IOException
writeComment in class javax.faces.context.ResponseWriterIOExceptionpublic void writeText(Object value, String string) throws IOException
writeText in class javax.faces.context.ResponseWriterIOExceptionpublic void writeText(char[] chars,
int start,
int end)
throws IOException
writeText in class javax.faces.context.ResponseWriterIOExceptionpublic void writeURIAttribute(String attribute, Object object, String string) throws IOException
writeURIAttribute in class javax.faces.context.ResponseWriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in class WriterIOExceptionpublic void write(char[] chars,
int start,
int end)
throws IOException
write in class WriterIOExceptionpublic void write(String str) throws IOException
write in class WriterIOExceptionpublic void write(int c)
throws IOException
write in class WriterIOExceptionpublic void write(char[] cbuf)
throws IOException
write in class WriterIOExceptionpublic void write(String str, int off, int len) throws IOException
write in class WriterIOExceptionpublic Writer getWriter()
Copyright © 2015 Seam Framework. All Rights Reserved.