public static enum SAXParser.State extends Enum<SAXParser.State>
| Enum Constant and Description |
|---|
FINISHED
Meaning the parser has finished parsing the entire document.
|
IDLE
Meaning the parser has not yet been set up or done any parsing.
|
PARSING_ENTERING_ELEMENT
Meaning the parser is entering a new element.
|
PARSING_ENTERING_ELEMENT_CHARACTERS
Meaning the parser is starting to process characters for an element.
|
PARSING_ENTERING_ELEMENT_CHARACTERS_FINISHED
Meaning the parser has finished processing characters for an element.
|
PARSING_ENTERING_ELEMENT_FINISHED
Meaning the parser has finished entering a new element.
|
PARSING_LEAVING_ELEMENT
Meaning the parser is leaving an element.
|
PARSING_LEAVING_ELEMENT_FINISHED
Meaning the parser has finished leaving an element.
|
PREPARING
Meaning the parser is being prepared to read data.
|
STARTING
Meaning the parser currently reading the start of the document.
|
| Modifier and Type | Method and Description |
|---|---|
static SAXParser.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SAXParser.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SAXParser.State IDLE
public static final SAXParser.State PREPARING
public static final SAXParser.State STARTING
public static final SAXParser.State PARSING_ENTERING_ELEMENT
public static final SAXParser.State PARSING_ENTERING_ELEMENT_FINISHED
public static final SAXParser.State PARSING_ENTERING_ELEMENT_CHARACTERS
public static final SAXParser.State PARSING_ENTERING_ELEMENT_CHARACTERS_FINISHED
public static final SAXParser.State PARSING_LEAVING_ELEMENT
public static final SAXParser.State PARSING_LEAVING_ELEMENT_FINISHED
public static final SAXParser.State FINISHED
public static SAXParser.State[] values()
for (SAXParser.State c : SAXParser.State.values()) System.out.println(c);
public static SAXParser.State 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 © 2017 Saxonia Systems AG. All rights reserved.