Package org.apache.tika.sax.xpath
Class NamedAttributeMatcher
- java.lang.Object
- 
- org.apache.tika.sax.xpath.Matcher
- 
- org.apache.tika.sax.xpath.NamedAttributeMatcher
 
 
- 
 public class NamedAttributeMatcher extends Matcher Final evaluation state of a.../@nameXPath expression. Matches the named attributes of the current element.
- 
- 
Constructor SummaryConstructors Constructor Description NamedAttributeMatcher(String namespace, String name)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatchesAttribute(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.Matcherdescend, matchesElement, matchesText
 
- 
 
- 
- 
- 
Method Detail- 
matchesAttributepublic boolean matchesAttribute(String namespace, String name) Description copied from class:MatcherReturnstrueif the XPath expression matches the named attribute of the element associated with this evaluation state.- Overrides:
- matchesAttributein class- Matcher
- Parameters:
- namespace- attribute namespace or- null
- name- attribute name
- Returns:
- XPath evaluation state for named attribute of this element
 
 
- 
 
-