public class RootHandler extends org.xml.sax.helpers.DefaultHandler implements DatasetTags
CATEGORYDATASET_TAG, ITEM_TAG, KEY_TAG, PIEDATASET_TAG, SERIES_TAG, VALUE_TAG
Constructor and Description |
---|
RootHandler()
Creates a new handler.
|
Modifier and Type | Method and Description |
---|---|
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.
|
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
public RootHandler()
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()