public class RootHandler extends 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.
|
DefaultHandler |
getCurrentHandler()
Returns the handler at the top of the stack.
|
Stack |
getSubHandlers()
Returns the stack of sub handlers.
|
DefaultHandler |
popSubHandler()
Pops a sub-handler from the stack.
|
void |
pushSubHandler(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 Stack getSubHandlers()
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
ch
- character buffer.start
- the start index.length
- the length of the valid character data.SAXException
- for errors.public DefaultHandler getCurrentHandler()
public void pushSubHandler(DefaultHandler subhandler)
subhandler
- the sub-handler.public DefaultHandler popSubHandler()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics