gate.jape.constraint
Class WithinPredicate
java.lang.Object
gate.jape.constraint.AbstractConstraintPredicate
gate.jape.constraint.EmbeddedConstraintPredicate
gate.jape.constraint.WithinPredicate
- All Implemented Interfaces:
- ConstraintPredicate, Serializable
- Direct Known Subclasses:
- NotWithinPredicate
public class WithinPredicate
- extends EmbeddedConstraintPredicate
Returns true if the given annotation is entirely spanned by an annotation
of the type set in value.
- See Also:
- Serialized Form
OPERATOR
public static final String OPERATOR
- See Also:
- Constant Field Values
WithinPredicate
public WithinPredicate()
getOperator
public String getOperator()
- Description copied from interface:
ConstraintPredicate
- String representation of the logic operator that the predicate
implements.
doMatch
public AnnotationSet doMatch(Annotation annot,
AnnotationSet as)
- Get all the annots of the right type that completely span the
length of the test annot
- Specified by:
doMatch
in class EmbeddedConstraintPredicate