Class AttributePredicate
- java.lang.Object
-
- org.apache.taglibs.standard.extra.spath.Predicate
-
- org.apache.taglibs.standard.extra.spath.AttributePredicate
-
public class AttributePredicate extends Predicate
Represents a predicate expression concerning a single attribute.
- Author:
- Shawn Bayern
-
-
Constructor Summary
Constructors Constructor Description AttributePredicate(String attribute, String target)Constructs a new AttributePredicate, given an attribute name and a target literal (with which to test equality).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisMatchingAttribute(Attributes a)Returns true if the given SAX AttributeList is suitable, given our attribute name and target; returns false otherwise.
-
-
-
Method Detail
-
isMatchingAttribute
public boolean isMatchingAttribute(Attributes a)
Returns true if the given SAX AttributeList is suitable, given our attribute name and target; returns false otherwise.
-
-