1 package com.opensymphony.module.sitemesh.html; 2 3 import com.opensymphony.module.sitemesh.html.util.CharArray; 4 5 13 public interface Tag { 14 15 int OPEN = 1; 16 int CLOSE = 2; 17 int EMPTY = 3; 18 int OPEN_MAGIC_COMMENT = 4; 19 int CLOSE_MAGIC_COMMENT = 5; 20 21 28 String getContents(); 29 30 33 void writeTo(CharArray out); 34 35 38 String getName(); 39 40 46 int getType(); 47 48 int getAttributeCount(); 49 String getAttributeName(int index); 50 String getAttributeValue(int index); 51 String getAttributeValue(String name); 52 boolean hasAttribute(String name); 53 54 } 55 | Popular Tags |