Package org.apache.tika.sax.xpath
Class NamedAttributeMatcher
java.lang.Object
org.apache.tika.sax.xpath.Matcher
org.apache.tika.sax.xpath.NamedAttributeMatcher
Final evaluation state of a
.../@name
XPath expression.
Matches the named attributes of the current element.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matchesAttribute
(String namespace, String name) Returnstrue
if the XPath expression matches the named attribute of the element associated with this evaluation state.Methods inherited from class org.apache.tika.sax.xpath.Matcher
descend, matchesElement, matchesText
-
Constructor Details
-
NamedAttributeMatcher
-
-
Method Details
-
matchesAttribute
Description copied from class:Matcher
Returnstrue
if the XPath expression matches the named attribute of the element associated with this evaluation state.- Overrides:
matchesAttribute
in classMatcher
- Parameters:
namespace
- attribute namespace ornull
name
- attribute name- Returns:
- XPath evaluation state for named attribute of this element
-