Package org.apache.tika.sax.xpath
Class NamedElementMatcher
- java.lang.Object
-
- org.apache.tika.sax.xpath.Matcher
-
- org.apache.tika.sax.xpath.ChildMatcher
-
- org.apache.tika.sax.xpath.NamedElementMatcher
-
public class NamedElementMatcher extends ChildMatcher
Intermediate evaluation state of a.../name...
XPath expression. Matches nothing, but specifies the evaluation state for the child elements with the given name.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NamedElementMatcher(String namespace, String name, Matcher then)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Matcher
descend(String namespace, String name)
Returns the XPath evaluation state that results from descending to a child element with the given name.-
Methods inherited from class org.apache.tika.sax.xpath.Matcher
matchesAttribute, matchesElement, matchesText
-
-
-
-
Method Detail
-
descend
public Matcher descend(String namespace, String name)
Description copied from class:Matcher
Returns the XPath evaluation state that results from descending to a child element with the given name.- Overrides:
descend
in classChildMatcher
- Parameters:
namespace
- element namespace ornull
name
- element name- Returns:
- next XPath evaluation state
-
-