public enum TokenType extends Enum<TokenType>
TemplateToken
s. Each value maps to a
particular subclass of TemplateToken.Enum Constant and Description |
---|
ATTRIBUTE |
BLOCK |
BODY |
CDATA |
COMMENT |
DEFINE_NAMESPACE_PREFIX |
DTD |
END_ELEMENT |
EXPANSION |
EXTENSION_POINT |
PARAMETER |
START_COMPONENT |
START_ELEMENT |
TEXT |
Modifier and Type | Method and Description |
---|---|
static TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenType END_ELEMENT
public static final TokenType START_COMPONENT
public static final TokenType START_ELEMENT
public static final TokenType DEFINE_NAMESPACE_PREFIX
public static final TokenType EXTENSION_POINT
public static TokenType[] values()
for (TokenType c : TokenType.values()) System.out.println(c);
public static TokenType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null${project.version} - Copyright © 2003-2015 The Apache Software Foundation.