org.knime.core.data.xml.io
Class XMLCellReaderFactory
java.lang.Object
org.knime.core.data.xml.io.XMLCellReaderFactory
public class XMLCellReaderFactory
- extends Object
Factory class for @link{XMLCellReader}.
- Author:
- Heiko Hofer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLCellReaderFactory
public XMLCellReaderFactory()
createXMLCellReader
public static XMLCellReader createXMLCellReader(InputStream is)
throws ParserConfigurationException
- Creates a @link{XMLCellReader} to read a single cell from given
- Parameters:
is - the xml document
- Returns:
- @link{XMLCellReader} to read a single cell from given
- Throws:
ParserConfigurationException - when the factory object for
DOMs could not be created.
createXPathXMLCellReader
public static XMLCellReader createXPathXMLCellReader(InputStream is,
LimitedXPathMatcher xpathMatcher)
throws ParserConfigurationException,
XMLStreamException
- Creates a @link{XMLCellReader} to read nodes matching the given limited
XPath. Every node is read in a single DataCell whereas namespaces,
xml:base, xml:space and xml:lang definitions are retained.
- Parameters:
is - the xml documentxpathMatcher - Only nodes that match are read
- Returns:
- @link{XMLCellReader} to read nodes matching the given limited
XPath. Every node is read in a single DataCell.
- Throws:
ParserConfigurationException - when the factory object for
DOMs could not be created.
XMLStreamException - when parser could not be configured
Copyright, 2003 - 2012. 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.