gnu.lists
Interface ElementPredicate

All Superinterfaces:
ItemPredicate, NodePredicate
All Known Implementing Classes:
ElementType

public interface ElementPredicate
extends NodePredicate

A predicate that (only) matches a ELEMENT_VALUE. If using XML terminology: only matches element nodes.


Method Summary
 boolean isInstance(AbstractSequence seq, int ipos, java.lang.Object elementType)
           
 
Methods inherited from interface gnu.lists.ItemPredicate
isInstancePos
 

Method Detail

isInstance

boolean isInstance(AbstractSequence seq,
                   int ipos,
                   java.lang.Object elementType)