|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Tag returned by HTMLTagTokenizer. Allows easy access to element name and attributes.
TokenHandler,
TagTokenizer| Field Summary | |
static int |
CLOSE
|
static int |
CLOSE_MAGIC_COMMENT
|
static int |
EMPTY
|
static int |
OPEN
|
static int |
OPEN_MAGIC_COMMENT
|
| Method Summary | |
int |
getAttributeCount()
|
String |
getAttributeName(int index)
|
String |
getAttributeValue(int index)
|
String |
getAttributeValue(String name)
|
String |
getContents()
Get the complete tag in its original form, preserving original formatting. |
String |
getName()
Name of tag (ie. |
int |
getType()
Type of tag: <blah> - Type.OPEN </blah> - Type.CLOSE <blah/> - Type.EMPTY |
boolean |
hasAttribute(String name)
|
void |
writeTo(CharArray out)
Write out the complete tag in its original form, preserving original formatting. |
| Field Detail |
public static final int OPEN
public static final int CLOSE
public static final int EMPTY
public static final int OPEN_MAGIC_COMMENT
public static final int CLOSE_MAGIC_COMMENT
| Method Detail |
public String getContents()
writeTo(com.opensymphony.module.sitemesh.html.util.CharArray)public void writeTo(CharArray out)
public String getName()
public int getType()
public int getAttributeCount()
public String getAttributeName(int index)
public String getAttributeValue(int index)
public String getAttributeValue(String name)
public boolean hasAttribute(String name)
|
www.opensymphony.com/sitemesh/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||