public enum XMLTokenType extends Enum<XMLTokenType>
| Enum Constant and Description |
|---|
ATTRIBUTE_EQUALS |
ATTRIBUTE_NAME |
CDATA |
CHARS |
CLOSED_TAG_END |
COMMENT |
DECLARATION |
DOUBLE_QUOTED_STRING |
ELEMENT_NAME |
END_TAG_START |
SINGLE_QUOTED_STRING |
TAG_END |
TAG_START |
WHITESPACE |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
boolean |
isElementToken() |
static XMLTokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMLTokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLTokenType TAG_START
public static final XMLTokenType TAG_END
public static final XMLTokenType END_TAG_START
public static final XMLTokenType CLOSED_TAG_END
public static final XMLTokenType ELEMENT_NAME
public static final XMLTokenType WHITESPACE
public static final XMLTokenType ATTRIBUTE_NAME
public static final XMLTokenType ATTRIBUTE_EQUALS
public static final XMLTokenType SINGLE_QUOTED_STRING
public static final XMLTokenType DOUBLE_QUOTED_STRING
public static final XMLTokenType CHARS
public static final XMLTokenType COMMENT
public static final XMLTokenType CDATA
public static final XMLTokenType DECLARATION
public static XMLTokenType[] values()
for (XMLTokenType c : XMLTokenType.values()) System.out.println(c);
public static XMLTokenType 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 nullpublic boolean isElementToken()
public String getDescription()
Copyright © 2006–2016 Volker Bergmann. All rights reserved.