Package opennlp.uima.util
Klasse ContainingConstraint
java.lang.Object
opennlp.uima.util.ContainingConstraint
- Alle implementierten Schnittstellen:
Serializable
,org.apache.uima.cas.FSConstraint
,org.apache.uima.cas.FSMatchConstraint
public final class ContainingConstraint
extends Object
implements org.apache.uima.cas.FSMatchConstraint
Checks if an
AnnotationFS
is contained by the given AnnotationFS.- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungInitializes aContainingConstraint
.ContainingConstraint
(org.apache.uima.cas.text.AnnotationFS containingAnnotation) Initializes aContainingConstraint
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
match
(org.apache.uima.cas.FeatureStructure featureStructure) Checks if the givenFeatureStructure
matches the constraint.
-
Konstruktordetails
-
ContainingConstraint
public ContainingConstraint()Initializes aContainingConstraint
. -
ContainingConstraint
public ContainingConstraint(org.apache.uima.cas.text.AnnotationFS containingAnnotation) Initializes aContainingConstraint
.- Parameter:
containingAnnotation
- TheAnnotationFS
to initialize with.
-
-
Methodendetails
-
match
public boolean match(org.apache.uima.cas.FeatureStructure featureStructure) Checks if the givenFeatureStructure
matches the constraint.- Angegeben von:
match
in Schnittstelleorg.apache.uima.cas.FSMatchConstraint
-