Class ParseState
java.lang.Object
org.eclipse.birt.core.framework.parser.AbstractParseState
org.eclipse.birt.core.framework.parser.ParseState
- Direct Known Subclasses:
AnyElementState
,XMLParserHandler.InnerParseState
Base class provides the parse state framework. By default, it reports an
error if an unexpected tag is seen.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final XMLParserHandler
The SAX parser handler associated with this parse state.Fields inherited from class org.eclipse.birt.core.framework.parser.AbstractParseState
context, elementName, text
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.birt.core.framework.parser.AbstractParseState
end, endElement, getAttrib, jumpTo, parseAttrs, setElementName, startElement
-
Field Details
-
handler
The SAX parser handler associated with this parse state.
-
-
Constructor Details
-
ParseState
Constructor.- Parameters:
theHandler
- the associated SAX parser handler
-
-
Method Details
-
getHandler
Description copied from class:AbstractParseState
Returns the parser handler. Required to be implemented by derived states. States will implement this differently depending on whether the state is a normal or inner class.- Specified by:
getHandler
in classAbstractParseState
- Returns:
- the XML parser handler
-