org.apache.uima.ruta.example.extensions
Class ExampleNumberFunction
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.number.AbstractNumberExpression
org.apache.uima.ruta.expression.number.NumberFunctionExpression
org.apache.uima.ruta.example.extensions.ExampleNumberFunction
- All Implemented Interfaces:
- org.apache.uima.ruta.expression.IRutaExpression, org.apache.uima.ruta.expression.number.INumberExpression, org.apache.uima.ruta.expression.string.IStringExpression
public class ExampleNumberFunction
- extends org.apache.uima.ruta.expression.number.NumberFunctionExpression
|
Method Summary |
double |
getDoubleValue(org.apache.uima.ruta.RutaBlock parent,
org.apache.uima.cas.text.AnnotationFS annotation,
org.apache.uima.ruta.RutaStream stream)
|
org.apache.uima.ruta.expression.type.TypeExpression |
getExpr()
|
float |
getFloatValue(org.apache.uima.ruta.RutaBlock parent,
org.apache.uima.cas.text.AnnotationFS annotation,
org.apache.uima.ruta.RutaStream stream)
|
int |
getIntegerValue(org.apache.uima.ruta.RutaBlock parent,
org.apache.uima.cas.text.AnnotationFS annotation,
org.apache.uima.ruta.RutaStream stream)
|
String |
getStringValue(org.apache.uima.ruta.RutaBlock parent,
org.apache.uima.cas.text.AnnotationFS annotation,
org.apache.uima.ruta.RutaStream stream)
|
| Methods inherited from class org.apache.uima.ruta.expression.number.AbstractNumberExpression |
calculate, calculate, calculate, getDoubleValue, getFloatValue, getIntegerValue |
| Methods inherited from class org.apache.uima.ruta.expression.string.AbstractStringExpression |
getStringValue |
| Methods inherited from class org.apache.uima.ruta.expression.RutaExpression |
getTargetAnnotation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.uima.ruta.expression.string.IStringExpression |
getStringValue |
ExampleNumberFunction
public ExampleNumberFunction(org.apache.uima.ruta.expression.type.TypeExpression expr)
getExpr
public org.apache.uima.ruta.expression.type.TypeExpression getExpr()
getStringValue
public String getStringValue(org.apache.uima.ruta.RutaBlock parent,
org.apache.uima.cas.text.AnnotationFS annotation,
org.apache.uima.ruta.RutaStream stream)
- Specified by:
getStringValue in interface org.apache.uima.ruta.expression.string.IStringExpression- Specified by:
getStringValue in class org.apache.uima.ruta.expression.string.AbstractStringExpression
getIntegerValue
public int getIntegerValue(org.apache.uima.ruta.RutaBlock parent,
org.apache.uima.cas.text.AnnotationFS annotation,
org.apache.uima.ruta.RutaStream stream)
getDoubleValue
public double getDoubleValue(org.apache.uima.ruta.RutaBlock parent,
org.apache.uima.cas.text.AnnotationFS annotation,
org.apache.uima.ruta.RutaStream stream)
getFloatValue
public float getFloatValue(org.apache.uima.ruta.RutaBlock parent,
org.apache.uima.cas.text.AnnotationFS annotation,
org.apache.uima.ruta.RutaStream stream)
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.