|
||||||||||
| 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.ItemHandler
A handler for reading key-value items.
| 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 | |
ItemHandler(RootHandler root,
org.xml.sax.helpers.DefaultHandler parent)
Creates a new item handler. |
|
| Method Summary | |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
The end of an element. |
java.lang.Comparable |
getKey()
Returns the key that has been read by the handler, or null. |
java.lang.Number |
getValue()
Returns the key that has been read by the handler, or null. |
void |
setKey(java.lang.Comparable key)
Sets the key. |
void |
setValue(java.lang.Number value)
Sets the value. |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
The start of an element. |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ItemHandler(RootHandler root,
org.xml.sax.helpers.DefaultHandler parent)
root - the root handler.parent - the parent handler.| Method Detail |
public java.lang.Comparable getKey()
null.
public void setKey(java.lang.Comparable key)
key - the key.public java.lang.Number getValue()
null.
public void setValue(java.lang.Number value)
value - the value.
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlernamespaceURI - the namespace.localName - the element name.qName - the element name.atts - the attributes.
org.xml.sax.SAXException - for errors.
public void endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
endElement in interface org.xml.sax.ContentHandlernamespaceURI - the namespace.localName - the element name.qName - the element name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||