gnu.lists

Interface ElementPredicate

All Superinterfaces:
ItemPredicate, NodePredicate
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, Object elementType)

Methods inherited from interface gnu.lists.ItemPredicate

isInstancePos

Method Details

isInstance

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