|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tika.sax.xpath.Matcher org.apache.tika.sax.xpath.NamedAttributeMatcher
public class NamedAttributeMatcher
Final evaluation state of a .../@name
XPath expression.
Matches the named attributes of the current element.
Field Summary |
---|
Fields inherited from class org.apache.tika.sax.xpath.Matcher |
---|
FAIL |
Constructor Summary | |
---|---|
NamedAttributeMatcher(java.lang.String namespace,
java.lang.String name)
|
Method Summary | |
---|---|
boolean |
matchesAttribute(java.lang.String namespace,
java.lang.String name)
Returns true 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamedAttributeMatcher(java.lang.String namespace, java.lang.String name)
Method Detail |
---|
public boolean matchesAttribute(java.lang.String namespace, java.lang.String name)
Matcher
true
if the XPath expression matches the named
attribute of the element associated with this evaluation state.
matchesAttribute
in class Matcher
namespace
- attribute namespace or null
name
- attribute name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |