infovis.tree.io
Class XMLTreeReader
java.lang.Object
infovis.io.AbstractReader
infovis.io.AbstractXMLReader
infovis.tree.io.SimpleXMLTreeReader
infovis.tree.io.XMLTreeReader
- All Implemented Interfaces:
- ContentHandler, EntityResolver
public class XMLTreeReader
- extends SimpleXMLTreeReader
Tree Reader for the treemal DTD.
- Version:
- $Revision: 1.15 $
- Author:
- Jean-Daniel Fekete
- InfoVis factory arguments:
- TreeReaderFactory xml
XMLTreeReader
public XMLTreeReader(InputStream in,
String name,
Tree tree)
- Constructor for XMLTreeReader.
- Parameters:
in
- the BufferedReadername
- a name,tree
- the Tree.
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class SimpleXMLTreeReader
- Throws:
SAXException
- See Also:
ContentHandler.startElement(String, String, String,
Attributes)
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class SimpleXMLTreeReader
- Throws:
SAXException
- See Also:
ContentHandler.endElement(String, String, String)
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.