ElementPredicate.java 394 B

1234567891011121314
  1. // Copyright (c) 2002 Per M.A. Bothner
  2. // This is free software; for terms and warranty disclaimer see ./COPYING.
  3. package gnu.lists;
  4. /** A predicate that (only) matches a ELEMENT_VALUE.
  5. * If using XML terminology: only matches element nodes.
  6. */
  7. public interface ElementPredicate extends NodePredicate
  8. {
  9. public boolean isInstance(AbstractSequence seq, int ipos, Object elementType);
  10. }