|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.xml.io.LimitedXPathMatcher
public class LimitedXPathMatcher
| Constructor Summary | |
|---|---|
LimitedXPathMatcher(String xpath,
NamespaceContext nsContext)
Create a new instance. |
|
| Method Summary | |
|---|---|
(package private) void |
endElement()
Called in the XMLStreamConstants.START_ELEMENT call back of the XMLStreamReader. |
boolean |
nodeMatches()
Returns true when the xpath matches any node except the root node. |
boolean |
rootMatches()
Returns true when the xpath matches the root node '/'. |
(package private) boolean |
startElement(QName name)
Called in the XMLStreamConstants.START_ELEMENT call back of the XMLStreamReader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LimitedXPathMatcher(String xpath,
NamespaceContext nsContext)
throws InvalidSettingsException
xpath - The limited xpath which may contain absolute paths to nodes
and the |-OperatornsContext - The namespace context used for the XPath
InvalidSettingsException - when the xpath has prefixes not defined
in the nsContext| Method Detail |
|---|
boolean startElement(QName name)
name - name of the element
void endElement()
public boolean rootMatches()
public boolean nodeMatches()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||