Package gate.jape.constraint

Interface Summary
AnnotationAccessor Provides way to access some property of an Annotation or otherwise get a value associated with an annotation (such as the length of text it spans or the text itself if the associated document is available).
ConstraintPredicate A predicate defines a single boolean operation on an Annotation or some property of an annotation.
 

Class Summary
AbstractConstraintPredicate Base class for most ConstraintPredicates.
AbstractRegExpPredicate Abstract regular expression based predicate implementation.
AnnotationFeatureAccessor Accessor that returns a named feature value.
CleanStringAccessor Accessor that returns the underlying string of an annotation in a document.
ComparablePredicate Base class for those predicates which use compareTo to compare values.
ComparablePredicateTest  
ConstraintFactory Creates Jape Constraints and associated ConstraintPredicates.
ContainsPredicate Returns true if there is an annotation of the type set in value that is entirely spanned by the given annotation
EmbeddedConstraintPredicate Predicate whose AbstractConstraintPredicate.getValue() property may be set to a Constraint itself, allowing for recursive evaluations.
EqualPredicate  
GreaterEqualPredicate  
GreaterPredicate  
LengthAccessor Accessor that returns the length of the characters spanned by the annotation
LesserEqualPredicate  
LesserPredicate  
MetaPropertyAccessor Accessor which returns a particular property or meta-property of an annotation, such as length or string.
NotEqualPredicate  
NotRegExpFindPredicate Implementation of the =~ predicate, which fails if any part of the annotation value matches the given regular expression, and succeeds otherwise.
NotRegExpMatchPredicate Implementation of the !
RegExpFindPredicate Implementation of the =~ predicate, which succeeds if any part of the annotation value matches the given regular expression, and fails otherwise.
RegExpMatchPredicate Implementation of the ==~ predicate, which succeeds if the entire annotation value matches the given regular expression, and fails otherwise.
SimpleAnnotationAccessor Accessor that returns the annotation itself
StringAccessor Accessor that returns the underlying string of an annotation in a document.
WithinPredicate Returns true if the given annotation is entirely spanned by an annotation of the type set in value.