public class AttributePredicate extends Predicate
Represents a predicate expression concerning a single attribute.
Constructor and Description |
---|
AttributePredicate(java.lang.String attribute,
java.lang.String target)
Constructs a new AttributePredicate, given an attribute name
and a target literal (with which to test equality).
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMatchingAttribute(org.xml.sax.Attributes a)
Returns true if the given SAX AttributeList is suitable, given our
attribute name and target; returns false otherwise.
|