org.knime.core.node.port.pmml
Class XMLTreeCreator
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.knime.core.node.port.pmml.XMLTreeCreator
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class XMLTreeCreator
- extends DefaultHandler
Parses XML and returns a model of the parsed tree that can be displayed
with a JTree
.
- Author:
- Fabian Dill, University of Konstanz
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
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 |
XMLTreeCreator
public XMLTreeCreator()
getTreeNode
public TreeNode getTreeNode()
- Returns:
- the tree representing the parsed XML tree
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
-
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String uri,
String localName,
String name)
throws SAXException
-
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class DefaultHandler
- Throws:
SAXException
startElement
public void startElement(String uri,
String localName,
String name,
Attributes attributes)
throws SAXException
-
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class DefaultHandler
- Throws:
SAXException
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.