Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.uima.cas
Interface FSMatchConstraint

All Superinterfaces:
  FSConstraint, Serializable

All Known Subinterfaces:
  FSTypeConstraint

    public interface FSMatchConstraint

extends FSConstraint, Serializable

Interface for feature structure matching constraints. These constraints are created as the result of combining primitive constraints with a "path" that specifies how to find the value to test, starting with a feature structure instance, and specifying which feature (or possibly a chain of features) to use as the value, using the `ConstraintFactory.embedConstraint(FeaturePath, FSConstraint)` method. These constraints are also produced by "anding" and "oring" together other instances of these constraints.

To use the constraint, invoke its `match(FeatureStructure)` method, passing the feature structure to test.

You can also use these constraints to construct a `CAS.createFilteredIterator(FSIterator, FSMatchConstraint)`.

Method Summary
`boolean` | `match(FeatureStructure fs)` Match against feature structures.

Method Detail

### match

    boolean match(FeatureStructure fs)

  Match against feature structures.

  Parameters:
    `fs` - The feature structure we want to match.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 The Apache Software Foundation. All Rights Reserved.