|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
public abstract class AbstractXmlReadHandler
A base class for implementing an XmlReadHandler
.
This class takes care of all the delegation management.
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler |
---|
getObject |
Method Detail |
---|
public void init(RootXmlReadHandler rootHandler, String uri, String tagName)
init
in interface XmlReadHandler
rootHandler
- the root handler.tagName
- the tag name.uri
- the namespace uri.public final void startElement(String uri, String tagName, Attributes attrs) throws SAXException
startElement
in interface XmlReadHandler
tagName
- the tag name.attrs
- the attributes.uri
- the namespace uri.
SAXException
- if there is a parsing error.public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface XmlReadHandler
ch
- the character buffer.start
- the start index.length
- the length.
SAXException
- if there is a parsing error.public final void endElement(String uri, String tagName) throws SAXException
endElement
in interface XmlReadHandler
tagName
- the tag name.uri
- the namespace uri.
SAXException
- if there is a parsing error.public String getTagName()
public String getUri()
public RootXmlReadHandler getRootHandler()
public Locator getLocator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |