|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeaturePath
Interface for a feature path. A feature path is a sequence of Feature
s
that are used with constraint tests to specify how to get the value to test, starting from a
given feature structure.
To use:
CAS.createFeaturePath()
addFeature(Feature)
ConstraintFactory.embedConstraint(FeaturePath, FSConstraint)
.
Method Summary | |
---|---|
void |
addFeature(Feature feat)
Add a new feature at the end of the path. |
Feature |
getFeature(int i)
Get feature at position. |
int |
size()
Get length of path. |
Method Detail |
---|
int size()
>= 0
.Feature getFeature(int i)
i
- The position in the path (starting at 0
).
null
if there is no such feature.void addFeature(Feature feat)
feat
- The feature to be added.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |