1 15 package org.apache.tapestry; 16 17 25 26 public interface IMarkupWriter 27 { 28 34 35 public void attribute(String name, int value); 36 37 44 45 public void attribute(String name, boolean value); 46 47 56 57 public void attribute(String name, String value); 58 59 67 68 public void attributeRaw(String name, String value); 69 70 74 75 public void begin(String name); 76 77 81 82 public void beginEmpty(String name); 83 84 87 88 public boolean checkError(); 89 90 95 96 public void close(); 97 98 103 104 public void closeTag(); 105 106 114 115 public void comment(String value); 116 117 121 122 public void end(); 123 124 128 129 public void end(String name); 130 131 135 136 public void flush(); 137 138 143 144 public NestedMarkupWriter getNestedWriter(); 145 146 150 151 public void print(char[] data, int offset, int length); 152 153 173 174 public void print(char[] data, int offset, int length, boolean raw); 175 176 181 182 public void print(char value); 183 184 189 190 public void print(int value); 191 192 196 197 public void print(String value); 198 199 203 204 public void print(String value, boolean raw); 205 206 209 210 public void println(); 211 212 215 216 public void printRaw(char[] buffer, int offset, int length); 217 218 222 223 public void printRaw(String value); 224 225 228 229 public String getContentType(); 230 } | Popular Tags |