public class KeyHandler extends DefaultHandler implements DatasetTags
CATEGORYDATASET_TAG, ITEM_TAG, KEY_TAG, PIEDATASET_TAG, SERIES_TAG, VALUE_TAG
Constructor and Description |
---|
KeyHandler(RootHandler rootHandler,
ItemHandler itemHandler)
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.
|
void |
endElement(String namespaceURI,
String localName,
String qName)
The end of an element.
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
The start of an element.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public KeyHandler(RootHandler rootHandler, ItemHandler itemHandler)
rootHandler
- the root handler.itemHandler
- the item handler.public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
namespaceURI
- the namespace.localName
- the element name.qName
- the element name.atts
- the attributes.SAXException
- for errors.public void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
namespaceURI
- the namespace.localName
- the element name.qName
- the element name.SAXException
- for errors.public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
ch
- character buffer.start
- the start index.length
- the length of the valid character data.Jas4pp 1.5 © Java Analysis Studio for Particle Physics