gnu.lists

Interface AttributePredicate

All Superinterfaces:
ElementPredicate, NodePredicate
Known Implementing Classes:
AttributeType

public interface AttributePredicate
extends NodePredicate

A predicate that (only) matches a ATTRIBUTE_VALUE. If using XML terminology: only matches attribute nodes.

Method Summary

boolean
isInstance(AbstractSequence seq, int ipos, Object attributeType)

Methods inherited from interface gnu.lists.ElementPredicate

isInstancePos

Method Details

isInstance

public boolean isInstance(AbstractSequence seq,
                          int ipos,
                          Object attributeType)