class XMLDOMCellReader extends Object implements XMLCellReader
Constructor and Description |
---|
XMLDOMCellReader(InputStream is)
Create a new instance of a
XMLCellReader to read a single cell
from given InputStream . |
XMLDOMCellReader(Reader reader)
Create a new instance of a
XMLCellReader to read a single cell
from given Reader . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes any resources need for the read process.
|
XMLValue |
readXML()
Reads the next XML
DataCell . |
public XMLDOMCellReader(InputStream is) throws ParserConfigurationException
XMLCellReader
to read a single cell
from given InputStream
.is
- the resource to read fromParserConfigurationException
- when the factory object for DOMs
could not be createdpublic XMLDOMCellReader(Reader reader) throws ParserConfigurationException
XMLCellReader
to read a single cell
from given Reader
.reader
- the resource to read fromParserConfigurationException
- when the factory object for DOMs
could not be createdpublic XMLValue readXML() throws IOException
DataCell
.readXML
in interface XMLCellReader
DataCell
or null when there is nothing to read.
Note that this data cell implements XMLValue
.IOException
- If an error occurred during the read process.public void close() throws IOException
close
in interface XMLCellReader
IOException
- If an error occurred.
KNIME GmbH, Konstanz, Germany
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.