public interface TagTokens
TagTokens interface defines the constants for
the various pieces of an HTML tag. For example, the tokens in
the following HTML tag:
<ul type="circle"> will be:
TK_SYMBOL: <TK_ELEMENT_NAME: ulTK_ATTRIBUTE_NAME: typeTK_SYMBOL: =TK_ATTRIBUTE_VALUE: "circle"TK_SYMBOL: >LexerToken,
TagLexer| Modifier and Type | Field and Description |
|---|---|
static int |
TK_ATTRIBUTE_NAME
Constant for the attribute name of an attribute name-value pair.
|
static int |
TK_ATTRIBUTE_NAME_EMBEDDED
Constant for an attribute name containing an embedded tag.
|
static int |
TK_ATTRIBUTE_VALUE
Constant for the attribute value of an attribute name-value pair.
|
static int |
TK_ATTRIBUTE_VALUE_EMBEDDED
Constant for an attribute value containing an embedded tag.
|
static int |
TK_ELEMENT_NAME
Constant for the element name of an HTML tag.
|
static int |
TK_SYMBOL
Constant for the symbols used in a tag, such as '<', '>', '/' and '='.
|
static final int TK_ELEMENT_NAME
static final int TK_ATTRIBUTE_NAME
static final int TK_ATTRIBUTE_VALUE
static final int TK_ATTRIBUTE_NAME_EMBEDDED
static final int TK_ATTRIBUTE_VALUE_EMBEDDED
static final int TK_SYMBOL