org.apache.tika.sax.xpath
Class ElementMatcher

java.lang.Object
  extended by org.apache.tika.sax.xpath.Matcher
      extended by org.apache.tika.sax.xpath.ElementMatcher

public class ElementMatcher
extends Matcher

Final evaluation state of an XPath expression that targets an element. Matches the current element.


Field Summary
static Matcher INSTANCE
           
 
Fields inherited from class org.apache.tika.sax.xpath.Matcher
FAIL
 
Constructor Summary
ElementMatcher()
           
 
Method Summary
 boolean matchesElement()
          Returns true if the XPath expression matches the element associated with this evaluation state.
 
Methods inherited from class org.apache.tika.sax.xpath.Matcher
descend, matchesAttribute, matchesText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final Matcher INSTANCE
Constructor Detail

ElementMatcher

public ElementMatcher()
Method Detail

matchesElement

public boolean matchesElement()
Description copied from class: Matcher
Returns true if the XPath expression matches the element associated with this evaluation state.

Overrides:
matchesElement in class Matcher
Returns:
XPath evaluation state for this element


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.