public static enum BuildText.Type extends Enum<BuildText.Type>
Enum Constant and Description |
---|
ATTNAME
Attribute name.
|
ATTVALUE
Attribute value.
|
CLOSE_R_BR
Closing end bracket.
|
COMMENT
Comment.
|
DTD
Document type.
|
ELEMNAME
Element name.
|
EOF
End of input.
|
EQ
Equal sign.
|
L_BR
Opening bracket.
|
L_BR_CLOSE
Empty bracket.
|
PI
Processing instruction.
|
QUOTE
Quote.
|
R_BR
Closing bracket.
|
TEXT
Text node.
|
WS
Whitespace.
|
Modifier and Type | Field and Description |
---|---|
String |
string
String representation of token type.
|
Modifier and Type | Method and Description |
---|---|
static BuildText.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildText.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildText.Type TEXT
public static final BuildText.Type COMMENT
public static final BuildText.Type DTD
public static final BuildText.Type PI
public static final BuildText.Type L_BR
public static final BuildText.Type ELEMNAME
public static final BuildText.Type ATTNAME
public static final BuildText.Type R_BR
public static final BuildText.Type WS
public static final BuildText.Type ATTVALUE
public static final BuildText.Type L_BR_CLOSE
public static final BuildText.Type CLOSE_R_BR
public static final BuildText.Type EQ
public static final BuildText.Type EOF
public static final BuildText.Type QUOTE
public final String string
public static BuildText.Type[] values()
for (BuildText.Type c : BuildText.Type.values()) System.out.println(c);
public static BuildText.Type 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 nullCopyright © 2005–2015 BaseX Team. All rights reserved.