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.ResponseWriter
public void endDocument() throws IOException
endDocument
in class javax.faces.context.ResponseWriter
IOException
public void endElement(String element) throws IOException
endElement
in class javax.faces.context.ResponseWriter
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class javax.faces.context.ResponseWriter
IOException
public String getCharacterEncoding()
getCharacterEncoding
in class javax.faces.context.ResponseWriter
public String getContentType()
getContentType
in class javax.faces.context.ResponseWriter
public void startDocument() throws IOException
startDocument
in class javax.faces.context.ResponseWriter
IOException
public void startElement(String element, javax.faces.component.UIComponent component) throws IOException
startElement
in class javax.faces.context.ResponseWriter
IOException
public void writeAttribute(String attribute, Object object, String string) throws IOException
writeAttribute
in class javax.faces.context.ResponseWriter
IOException
public void writeComment(Object object) throws IOException
writeComment
in class javax.faces.context.ResponseWriter
IOException
public void writeText(Object value, String string) throws IOException
writeText
in class javax.faces.context.ResponseWriter
IOException
public void writeText(char[] chars, int start, int end) throws IOException
writeText
in class javax.faces.context.ResponseWriter
IOException
public void writeURIAttribute(String attribute, Object object, String string) throws IOException
writeURIAttribute
in class javax.faces.context.ResponseWriter
IOException
public void close() throws IOException
close
in interface Closeable
close
in class Writer
IOException
public void write(char[] chars, int start, int end) throws IOException
write
in class Writer
IOException
public void write(String str) throws IOException
write
in class Writer
IOException
public void write(int c) throws IOException
write
in class Writer
IOException
public void write(char[] cbuf) throws IOException
write
in class Writer
IOException
public void write(String str, int off, int len) throws IOException
write
in class Writer
IOException
public Writer getWriter()
Copyright © 2015 Seam Framework. All Rights Reserved.