Package org.apache.uima.cas.impl
Class EmbeddedConstraint
- java.lang.Object
-
- org.apache.uima.cas.impl.PathConstraint
-
- org.apache.uima.cas.impl.EmbeddedConstraint
-
- All Implemented Interfaces:
java.io.Serializable
,FSConstraint
,FSMatchConstraint
class EmbeddedConstraint extends PathConstraint implements FSMatchConstraint
Implement an embedded constraint. Basically just dispatches to specialized implementation.- Version:
- $Revision: 1.1 $
-
-
Field Summary
Fields Modifier and Type Field Description private FSMatchConstraint
cons
private static long
serialVersionUID
-
Fields inherited from class org.apache.uima.cas.impl.PathConstraint
featNames
-
-
Constructor Summary
Constructors Constructor Description EmbeddedConstraint(java.util.ArrayList<java.lang.String> path, FSConstraint cons)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(FeatureStructure fs)
Match against feature structures.java.lang.String
toString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
cons
private FSMatchConstraint cons
-
-
Constructor Detail
-
EmbeddedConstraint
EmbeddedConstraint(java.util.ArrayList<java.lang.String> path, FSConstraint cons)
-
-
Method Detail
-
match
public boolean match(FeatureStructure fs)
Description copied from interface:FSMatchConstraint
Match against feature structures.- Specified by:
match
in interfaceFSMatchConstraint
- Parameters:
fs
- The feature structure we want to match.- Returns:
- -
-
toString
public java.lang.String toString()
- Overrides:
toString
in classPathConstraint
-
-