|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.jape.constraint.AbstractConstraintPredicate
gate.jape.constraint.EmbeddedConstraintPredicate
gate.jape.constraint.WithinPredicate
public class WithinPredicate
Returns true if the given annotation is entirely spanned by an annotation of the type set in value.
| Field Summary | |
|---|---|
static String |
OPERATOR
|
| Fields inherited from class gate.jape.constraint.EmbeddedConstraintPredicate |
|---|
annotType, valueConstraint |
| Fields inherited from class gate.jape.constraint.AbstractConstraintPredicate |
|---|
accessor, value |
| Fields inherited from interface gate.jape.constraint.ConstraintPredicate |
|---|
EQUAL, GREATER, GREATER_OR_EQUAL, LESSER, LESSER_OR_EQUAL, NOT_EQUAL, NOT_REGEXP_FIND, NOT_REGEXP_MATCH, REGEXP_FIND, REGEXP_MATCH |
| Constructor Summary | |
|---|---|
WithinPredicate()
|
|
| Method Summary | |
|---|---|
AnnotationSet |
doMatch(Annotation annot,
AnnotationSet as)
Get all the annots of the right type that completely span the length of the test annot |
String |
getOperator()
String representation of the logic operator that the predicate implements. |
| Methods inherited from class gate.jape.constraint.EmbeddedConstraintPredicate |
|---|
doMatch, filterMatches, setValue |
| Methods inherited from class gate.jape.constraint.AbstractConstraintPredicate |
|---|
equals, getAccessor, getValue, hashCode, matches, setAccessor, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String OPERATOR
| Constructor Detail |
|---|
public WithinPredicate()
| Method Detail |
|---|
public String getOperator()
ConstraintPredicate
public AnnotationSet doMatch(Annotation annot,
AnnotationSet as)
doMatch in class EmbeddedConstraintPredicate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||