Class ExampleTypeFunction
java.lang.Object
org.apache.uima.ruta.RutaElement
org.apache.uima.ruta.expression.RutaExpression
org.apache.uima.ruta.expression.string.AbstractStringExpression
org.apache.uima.ruta.expression.type.AbstractTypeExpression
org.apache.uima.ruta.expression.type.TypeFunctionExpression
org.apache.uima.ruta.example.extensions.ExampleTypeFunction
- All Implemented Interfaces:
org.apache.uima.ruta.expression.IRutaExpression
,org.apache.uima.ruta.expression.string.IStringExpression
,org.apache.uima.ruta.expression.type.ITypeExpression
public class ExampleTypeFunction
extends org.apache.uima.ruta.expression.type.TypeFunctionExpression
-
Constructor Summary
ConstructorsConstructorDescriptionExampleTypeFunction
(org.apache.uima.ruta.expression.string.AbstractStringExpression expr) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.uima.ruta.expression.string.AbstractStringExpression
getExpr()
getStringValue
(org.apache.uima.ruta.rule.MatchContext context, org.apache.uima.ruta.RutaStream stream) org.apache.uima.cas.Type
getType
(org.apache.uima.ruta.rule.MatchContext context, org.apache.uima.ruta.RutaStream stream) Methods inherited from class org.apache.uima.ruta.expression.RutaExpression
getTargetAnnotation
-
Constructor Details
-
ExampleTypeFunction
public ExampleTypeFunction(org.apache.uima.ruta.expression.string.AbstractStringExpression expr)
-
-
Method Details
-
getExpr
public org.apache.uima.ruta.expression.string.AbstractStringExpression getExpr() -
getType
public org.apache.uima.cas.Type getType(org.apache.uima.ruta.rule.MatchContext context, org.apache.uima.ruta.RutaStream stream) -
getStringValue
public String getStringValue(org.apache.uima.ruta.rule.MatchContext context, org.apache.uima.ruta.RutaStream stream)
-