Package org.apache.tika.sax.xpath
Class AttributeMatcher
java.lang.Object
org.apache.tika.sax.xpath.Matcher
org.apache.tika.sax.xpath.AttributeMatcher
Final evaluation state of a
.../@* XPath expression.
Matches all attributes of the current element.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatchesAttribute(String namespace, String name) Returnstrueif 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
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
AttributeMatcher
public AttributeMatcher()
-
-
Method Details
-
matchesAttribute
Description copied from class:MatcherReturnstrueif the XPath expression matches the named attribute of the element associated with this evaluation state.- Overrides:
matchesAttributein classMatcher- Parameters:
namespace- attribute namespace ornullname- attribute name- Returns:
- XPath evaluation state for named attribute of this element
-