Class AnyElementState
java.lang.Object
org.eclipse.birt.core.framework.parser.AbstractParseState
org.eclipse.birt.core.framework.parser.ParseState
org.eclipse.birt.core.framework.parser.AnyElementState
Parses any valid XML; handles unimplemented tags. Often used while a parser
is under construction to parse and ignore tags that the parser does not yet
handle.
-
Field Summary
Fields inherited from class org.eclipse.birt.core.framework.parser.ParseState
handler
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.ParseState
getHandler
Methods inherited from class org.eclipse.birt.core.framework.parser.AbstractParseState
end, endElement, getAttrib, jumpTo, parseAttrs, setElementName
-
Constructor Details
-
AnyElementState
Constructor.- Parameters:
theHandler
- the SAX parser handler
-
-
Method Details
-
startElement
Description copied from class:AbstractParseState
Start a new tag. Derived classes override this to create a state to handle the element. Call this method to issue an error for, and ignore, any unrecognized tags.- Overrides:
startElement
in classAbstractParseState
- Parameters:
tagName
- the name of the starting element- Returns:
- the state to parse the given tag
- See Also:
-