public class MockResponseWriter extends javax.faces.context.ResponseWriter implements FacesMockController.MockObject
| Constructor and Description |
|---|
MockResponseWriter()
Default constructor
|
MockResponseWriter(org.easymock.IMocksControl control,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Writer |
append(char arg0) |
Writer |
append(CharSequence arg0) |
Writer |
append(CharSequence arg0,
int arg1,
int arg2) |
javax.faces.context.ResponseWriter |
cloneWithWriter(Writer arg0) |
void |
close() |
void |
endCDATA() |
void |
endDocument() |
void |
endElement(String arg0) |
boolean |
equals(Object obj) |
void |
flush() |
String |
getCharacterEncoding() |
String |
getContentType() |
org.easymock.IMocksControl |
getControl() |
int |
hashCode() |
void |
startCDATA() |
void |
startDocument() |
void |
startElement(String arg0,
javax.faces.component.UIComponent arg1) |
String |
toString() |
void |
write(char[] arg0) |
void |
write(char[] arg0,
int arg1,
int arg2) |
void |
write(int arg0) |
void |
write(String arg0) |
void |
write(String arg0,
int arg1,
int arg2) |
void |
writeAttribute(String arg0,
Object arg1,
String arg2) |
void |
writeComment(Object arg0) |
void |
writeText(char[] arg0,
int arg1,
int arg2) |
void |
writeText(Object arg0,
String arg1) |
void |
writeText(Object arg0,
javax.faces.component.UIComponent arg1,
String arg2) |
void |
writeURIAttribute(String arg0,
Object arg1,
String arg2) |
public MockResponseWriter()
public MockResponseWriter(org.easymock.IMocksControl control,
String name)
control - public org.easymock.IMocksControl getControl()
getControl in interface FacesMockController.MockObjectpublic void flush()
public String getContentType()
getContentType in class javax.faces.context.ResponseWriterpublic void startDocument()
startDocument in class javax.faces.context.ResponseWriterpublic void endDocument()
endDocument in class javax.faces.context.ResponseWriterpublic void startElement(String arg0, javax.faces.component.UIComponent arg1)
startElement in class javax.faces.context.ResponseWriterpublic void writeText(Object arg0, javax.faces.component.UIComponent arg1, String arg2)
writeText in class javax.faces.context.ResponseWriterpublic void writeText(Object arg0, String arg1)
writeText in class javax.faces.context.ResponseWriterpublic void writeText(char[] arg0,
int arg1,
int arg2)
writeText in class javax.faces.context.ResponseWriterpublic void endElement(String arg0)
endElement in class javax.faces.context.ResponseWriterpublic String getCharacterEncoding()
getCharacterEncoding in class javax.faces.context.ResponseWriterpublic void writeAttribute(String arg0, Object arg1, String arg2)
writeAttribute in class javax.faces.context.ResponseWriterpublic void writeURIAttribute(String arg0, Object arg1, String arg2)
writeURIAttribute in class javax.faces.context.ResponseWriterpublic void startCDATA()
startCDATA in class javax.faces.context.ResponseWriterpublic void endCDATA()
endCDATA in class javax.faces.context.ResponseWriterpublic void writeComment(Object arg0)
writeComment in class javax.faces.context.ResponseWriterpublic javax.faces.context.ResponseWriter cloneWithWriter(Writer arg0)
cloneWithWriter in class javax.faces.context.ResponseWriterpublic Writer append(CharSequence arg0, int arg1, int arg2)
append in interface Appendableappend in class Writerpublic Writer append(char arg0)
append in interface Appendableappend in class Writerpublic Writer append(CharSequence arg0)
append in interface Appendableappend in class Writerpublic void close()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.