gnu.lists

Interface ElementPredicate

Known Subinterfaces:
AttributePredicate, GroupPredicate, NodePredicate
Known Implementing Classes:
AttributeType, ElementType, NodeType

public interface ElementPredicate

A predicate (or type) on an element of a sequence. Element is here used in the sense of 'element of a sequence", not the XML sense of 'element node'.

Method Summary

boolean
isInstancePos(AbstractSequence seq, int ipos)

Method Details

isInstancePos

public boolean isInstancePos(AbstractSequence seq,
                             int ipos)