public interface FSMatchConstraint extends FSConstraint, Serializable
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)
.
Modifier and Type | Method and Description |
---|---|
boolean |
match(FeatureStructure fs)
Match against feature structures.
|
boolean match(FeatureStructure fs)
fs
- The feature structure we want to match.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.