Package | Description |
---|---|
org.apache.tika.sax.xpath |
XPath utilities
|
Modifier and Type | Class and Description |
---|---|
class |
AttributeMatcher
Final evaluation state of a
.../@* XPath expression. |
class |
ChildMatcher
Intermediate evaluation state of a
.../*... XPath expression. |
class |
CompositeMatcher
Composite XPath evaluation state.
|
class |
ElementMatcher
Final evaluation state of an XPath expression that targets an element.
|
class |
NamedAttributeMatcher
Final evaluation state of a
.../@name XPath expression. |
class |
NamedElementMatcher
Intermediate evaluation state of a
.../name... XPath
expression. |
class |
NodeMatcher
Final evaluation state of a
.../node() XPath expression. |
class |
SubtreeMatcher
Evaluation state of a
...//... XPath expression. |
class |
TextMatcher
Final evaluation state of a
.../text() XPath expression. |
Modifier and Type | Field and Description |
---|---|
static Matcher |
Matcher.FAIL
State of a failed XPath evaluation, where nothing is matched.
|
static Matcher |
TextMatcher.INSTANCE |
static Matcher |
NodeMatcher.INSTANCE |
static Matcher |
ElementMatcher.INSTANCE |
static Matcher |
AttributeMatcher.INSTANCE |
Modifier and Type | Method and Description |
---|---|
Matcher |
SubtreeMatcher.descend(String namespace,
String name) |
Matcher |
NamedElementMatcher.descend(String namespace,
String name) |
Matcher |
Matcher.descend(String namespace,
String name)
Returns the XPath evaluation state that results from descending
to a child element with the given name.
|
Matcher |
CompositeMatcher.descend(String namespace,
String name) |
Matcher |
ChildMatcher.descend(String namespace,
String name) |
Matcher |
XPathParser.parse(String xpath)
Parses the given simple XPath expression to an evaluation state
initialized at the document node.
|
Constructor and Description |
---|
ChildMatcher(Matcher then) |
CompositeMatcher(Matcher a,
Matcher b) |
MatchingContentHandler(ContentHandler delegate,
Matcher matcher) |
NamedElementMatcher(String namespace,
String name,
Matcher then) |
SubtreeMatcher(Matcher then) |
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.