1 12 package org.displaytag.util; 13 14 19 public final class TagConstants 20 { 21 22 25 public static final String TAG_OPEN = "\n<"; 27 30 public static final String TAG_OPENCLOSING = "</"; 32 35 public static final String TAG_CLOSE = ">"; 37 40 public static final String TAGNAME_ANCHOR = "a"; 42 45 public static final String TABLE_TAG_NAME = "table"; 47 50 public static final String TAGNAME_COLUMN = "td"; 52 55 public static final String TAGNAME_ROW = "tr"; 57 60 public static final String TAGNAME_COLUMN_HEADER = "th"; 62 65 public static final String TAGNAME_TABLE_HEAD = "thead"; 67 70 public static final String TAGNAME_TABLE_BODY = "tbody"; 72 75 public static final String TAGNAME_TABLE_FOOTER = "tfoot"; 77 80 public static final String TAGNAME_CAPTION = "caption"; 82 85 public static final String TAG_TR_OPEN = TAG_OPEN + TAGNAME_ROW + TAG_CLOSE; 86 87 90 public static final String TAG_TR_CLOSE = TAG_OPENCLOSING + TAGNAME_ROW + TAG_CLOSE; 91 92 95 public static final String TAG_THEAD_OPEN = TAG_OPEN + TAGNAME_TABLE_HEAD + TAG_CLOSE; 96 97 100 public static final String TAG_THEAD_CLOSE = TAG_OPENCLOSING + TAGNAME_TABLE_HEAD + TAG_CLOSE; 101 102 105 public static final String TAG_TBODY_OPEN = TAG_OPEN + TAGNAME_TABLE_BODY + TAG_CLOSE; 106 107 110 public static final String TAG_TBODY_CLOSE = TAG_OPENCLOSING + TAGNAME_TABLE_BODY + TAG_CLOSE; 111 112 115 public static final String TAG_TFOOTER_OPEN = TAG_OPEN + TAGNAME_TABLE_FOOTER + TAG_CLOSE; 116 117 120 public static final String TAG_TFOOTER_CLOSE = TAG_OPENCLOSING + TAGNAME_TABLE_FOOTER + TAG_CLOSE; 121 122 125 public static final String TAG_TH_OPEN = TAG_OPEN + TAGNAME_COLUMN_HEADER + TAG_CLOSE; 126 127 130 public static final String TAG_TH_CLOSE = TAG_OPENCLOSING + TAGNAME_COLUMN_HEADER + TAG_CLOSE; 131 132 135 public static final String TAG_TD_OPEN = TAG_OPEN + TAGNAME_COLUMN + TAG_CLOSE; 136 137 140 public static final String TAG_TD_CLOSE = TAG_OPENCLOSING + TAGNAME_COLUMN + TAG_CLOSE; 141 142 145 public static final String ATTRIBUTE_RULES = "rules"; 147 150 public static final String ATTRIBUTE_BGCOLOR = "bgcolor"; 152 155 public static final String ATTRIBUTE_FRAME = "frame"; 157 160 public static final String ATTRIBUTE_HEIGHT = "height"; 162 165 public static final String ATTRIBUTE_HSPACE = "hspace"; 167 170 public static final String ATTRIBUTE_WIDTH = "width"; 172 175 public static final String ATTRIBUTE_BORDER = "border"; 177 180 public static final String ATTRIBUTE_CELLSPACING = "cellspacing"; 182 185 public static final String ATTRIBUTE_CELLPADDING = "cellpadding"; 187 190 public static final String ATTRIBUTE_ALIGN = "align"; 192 195 public static final String ATTRIBUTE_BACKGROUND = "background"; 197 200 public static final String ATTRIBUTE_SUMMARY = "summary"; 202 205 public static final String ATTRIBUTE_VSPACE = "vspace"; 207 210 public static final String ATTRIBUTE_CLASS = "class"; 212 215 public static final String ATTRIBUTE_SCOPE = "scope"; 217 220 public static final String ATTRIBUTE_ID = "id"; 222 225 public static final String ATTRIBUTE_STYLE = "style"; 227 230 public static final String ATTRIBUTE_TITLE = "title"; 232 235 public static final String ATTRIBUTE_VALIGN = "valign"; 237 240 public static final String ATTRIBUTE_NOWRAP = "nowrap"; 242 245 public static final String ATTRIBUTE_LANG = "lang"; 247 250 public static final String ATTRIBUTE_DIR = "dir"; 252 255 public static final String AMPERSAND = "&"; 257 261 public static final String EMPTY_STRING = ""; 263 266 private TagConstants() 267 { 268 } 270 } | Popular Tags |