|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.xml.io.XMLXpathCellReader
public class XMLXpathCellReader
Read nodes from XML source which match an XPath expression. Note, that the XPath syntax is very limited. Absolute path to nodes and the |-Operator is supported, only.
| Constructor Summary | |
|---|---|
XMLXpathCellReader(InputStream is,
LimitedXPathMatcher xpathMatcher)
Create a new instance. |
|
| Method Summary | |
|---|---|
void |
close()
Closes any resources need for the read process. |
XMLValue |
readXML()
Reads the next XML @link{DataCell}. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLXpathCellReader(InputStream is,
LimitedXPathMatcher xpathMatcher)
throws ParserConfigurationException,
XMLStreamException
is - the xml sourcexpathMatcher - nodes of the input that match will be read, only
ParserConfigurationException
XMLStreamException| Method Detail |
|---|
public XMLValue readXML()
throws IOException
readXML in interface XMLCellReaderIOException - If an error occurred during the read process.
public void close()
throws IOException
close in interface XMLCellReaderIOException - If an error occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||