org.eclipse.birt.core.framework.parser
Class XMLParserHandler.InnerAnyTagState

java.lang.Object
  extended by org.eclipse.birt.core.framework.parser.AbstractParseState
      extended by org.eclipse.birt.core.framework.parser.ParseState
          extended by org.eclipse.birt.core.framework.parser.XMLParserHandler.InnerParseState
              extended by org.eclipse.birt.core.framework.parser.XMLParserHandler.InnerAnyTagState
Enclosing class:
XMLParserHandler

public class XMLParserHandler.InnerAnyTagState
extends XMLParserHandler.InnerParseState

Parses any valid XML; handles unimplemented tags. Often used while building a parser to silently parse and ignore tags that the parser is not yet ready to 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
XMLParserHandler.InnerAnyTagState()
           
 
Method Summary
 AbstractParseState startElement(java.lang.String tagName)
          Start a new tag.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLParserHandler.InnerAnyTagState

public XMLParserHandler.InnerAnyTagState()
Method Detail

startElement

public AbstractParseState startElement(java.lang.String tagName)
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 class AbstractParseState
Parameters:
tagName - the name of the starting element
Returns:
the state to parse the given tag
See Also:
DefaultHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)


Copyright © 2008 Actuate Corp. All rights reserved.