org.apache.tika.sax.xpath
Class ChildMatcher
java.lang.Object
org.apache.tika.sax.xpath.Matcher
org.apache.tika.sax.xpath.ChildMatcher
- Direct Known Subclasses:
- NamedElementMatcher
public class ChildMatcher
- extends Matcher
Intermediate evaluation state of a .../*...
XPath expression.
Matches nothing, but specifies the evaluation state for all child elements.
Fields inherited from class org.apache.tika.sax.xpath.Matcher |
FAIL |
Method Summary |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChildMatcher
public ChildMatcher(Matcher then)
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 class Matcher
- Parameters:
namespace
- element namespace or null
name
- element name
- Returns:
- next XPath evaluation state
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.