gate.jape.constraint
Class ContainsPredicate
java.lang.Object
gate.jape.constraint.AbstractConstraintPredicate
gate.jape.constraint.EmbeddedConstraintPredicate
gate.jape.constraint.ContainsPredicate
- All Implemented Interfaces:
- ConstraintPredicate, Serializable
- Direct Known Subclasses:
- NotContainsPredicate
public class ContainsPredicate
- extends EmbeddedConstraintPredicate
Returns true if there is an annotation of the type set in value that is entirely
spanned by the given annotation
- See Also:
- Serialized Form
OPERATOR
public static final String OPERATOR
- See Also:
- Constant Field Values
ContainsPredicate
public ContainsPredicate()
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 are within the span of
this annot.
- Specified by:
doMatch
in class EmbeddedConstraintPredicate