|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.jfree.data.xml.RootHandler
public class RootHandler
A SAX handler that delegates work to sub-handlers.
Field Summary |
---|
Fields inherited from interface org.jfree.data.xml.DatasetTags |
---|
CATEGORYDATASET_TAG, ITEM_TAG, KEY_TAG, PIEDATASET_TAG, SERIES_TAG, VALUE_TAG |
Constructor Summary | |
---|---|
RootHandler()
Creates a new handler. |
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
Receives some (or all) of the text in the current element. |
org.xml.sax.helpers.DefaultHandler |
getCurrentHandler()
Returns the handler at the top of the stack. |
java.util.Stack |
getSubHandlers()
Returns the stack of sub handlers. |
org.xml.sax.helpers.DefaultHandler |
popSubHandler()
Pops a sub-handler from the stack. |
void |
pushSubHandler(org.xml.sax.helpers.DefaultHandler subhandler)
Pushes a sub-handler onto the stack. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RootHandler()
Method Detail |
---|
public java.util.Stack getSubHandlers()
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
ch
- character buffer.start
- the start index.length
- the length of the valid character data.
org.xml.sax.SAXException
- for errors.public org.xml.sax.helpers.DefaultHandler getCurrentHandler()
public void pushSubHandler(org.xml.sax.helpers.DefaultHandler subhandler)
subhandler
- the sub-handler.public org.xml.sax.helpers.DefaultHandler popSubHandler()
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |