1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package javax.faces.context; |
17 | |
|
18 | |
import java.io.IOException; |
19 | |
import java.io.Writer; |
20 | |
|
21 | |
import javax.faces.component.UIComponent; |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
public abstract class ResponseWriter extends Writer { |
27 | |
|
28 | 431 | public ResponseWriter() { |
29 | 431 | } |
30 | |
|
31 | |
public abstract String getContentType(); |
32 | |
|
33 | |
public abstract String getCharacterEncoding(); |
34 | |
|
35 | |
public abstract void flush() throws IOException; |
36 | |
|
37 | |
public abstract void startDocument() throws IOException; |
38 | |
|
39 | |
public abstract void endDocument() throws IOException; |
40 | |
|
41 | |
public abstract void startElement(String name, |
42 | |
UIComponent componentForElement) throws IOException; |
43 | |
|
44 | |
public abstract void endElement(String name) throws IOException; |
45 | |
|
46 | |
public abstract void writeAttribute(String name, Object value, |
47 | |
String property) throws IOException; |
48 | |
|
49 | |
public abstract void writeURIAttribute(String name, Object value, |
50 | |
String property) throws IOException; |
51 | |
|
52 | |
public abstract void writeComment(Object comment) throws IOException; |
53 | |
|
54 | |
public abstract void writeText(Object text, String property) |
55 | |
throws IOException; |
56 | |
|
57 | |
public abstract void writeText(char text[], int off, int len) |
58 | |
throws IOException; |
59 | |
|
60 | |
public abstract ResponseWriter cloneWithWriter(Writer writer); |
61 | |
|
62 | |
} |