01: // Copyright (c) 2002 Per M.A. Bothner
02: // This is free software; for terms and warranty disclaimer see ./COPYING.
03:
04: package gnu.lists;
05:
06: /** A predicate that (only) matches a ATTRIBUTE_VALUE.
07: * If using XML terminology: only matches attribute nodes.
08: */
09:
10: public interface AttributePredicate extends NodePredicate {
11: public boolean isInstance(AbstractSequence seq, int ipos,
12: Object attributeType);
13: }
|