AttributePredicate.java 409 B

123456789101112131415
  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 ATTRIBUTE_VALUE.
  5. * If using XML terminology: only matches attribute nodes.
  6. */
  7. public interface AttributePredicate extends NodePredicate
  8. {
  9. public boolean isInstance(AbstractSequence seq, int ipos,
  10. Object attributeType);
  11. }