1 16 package javax.faces.context; 17 18 import javax.faces.component.UIComponent; 19 import java.io.IOException ; 20 import java.io.Writer ; 21 22 33 public abstract class ResponseWriter 34 extends Writer 35 { 36 public abstract String getContentType(); 37 38 public abstract String getCharacterEncoding(); 39 40 public abstract void flush() 41 throws IOException ; 42 43 public abstract void startDocument() 44 throws IOException ; 45 46 public abstract void endDocument() 47 throws IOException ; 48 49 public abstract void startElement(String name, 50 UIComponent component) 51 throws IOException ; 52 53 public abstract void endElement(String name) 54 throws IOException ; 55 56 public abstract void writeAttribute(String name, 57 Object value, 58 String property) 59 throws IOException ; 60 61 public abstract void writeURIAttribute(String name, 62 Object value, 63 String property) 64 throws IOException ; 65 66 public abstract void writeComment(Object comment) 67 throws IOException ; 68 69 public abstract void writeText(Object text, 70 String property) 71 throws IOException ; 72 73 public abstract void writeText(char[] text, 74 int off, 75 int len) 76 throws IOException ; 77 78 public abstract ResponseWriter cloneWithWriter(Writer writer); 79 } 80 | Popular Tags |