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:
  • Konstruktordetails

    • ContainingConstraint

      public ContainingConstraint()
      Initializes a ContainingConstraint.
    • ContainingConstraint

      public ContainingConstraint(org.apache.uima.cas.text.AnnotationFS containingAnnotation)
      Initializes a ContainingConstraint.
      Parameter:
      containingAnnotation - The AnnotationFS to initialize with.
  • Methodendetails

    • match

      public boolean match(org.apache.uima.cas.FeatureStructure featureStructure)
      Checks if the given FeatureStructure matches the constraint.
      Angegeben von:
      match in Schnittstelle org.apache.uima.cas.FSMatchConstraint