org.pentaho.reporting.libraries.xmlns.parser
public abstract class AbstractXmlReadHandler extends Object implements XmlReadHandler
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length)
This method is called to process the character data between element tags.
|
void | endElement(String uri, String tagName)
This method is called at the end of an element.
|
Locator | getLocator()
Returns the locator as provided by the XML parser. |
RootXmlReadHandler | getRootHandler()
Returns the root handler for the parsing.
|
String | getTagName()
Returns the tag name.
|
String | getUri()
Returns the uri of the element. |
void | init(RootXmlReadHandler rootHandler, String uri, String tagName)
Initialises the handler.
|
void | startElement(String uri, String tagName, Attributes attrs)
This method is called at the start of an element.
|
Parameters: ch the character buffer. start the start index. length the length.
Throws: SAXException if there is a parsing error.
Parameters: tagName the tag name.
Throws: SAXException if there is a parsing error.
Returns: the locator or null.
Returns: the root handler.
Returns: the tag name.
Returns: the element's URI.
Parameters: rootHandler the root handler. tagName the tag name.
Parameters: tagName the tag name. attrs the attributes.
Throws: SAXException if there is a parsing error.