org.apache.uima.ruta.example.extensions
Class ExampleStringFunction

java.lang.Object
  extended by org.apache.uima.ruta.RutaElement
      extended by org.apache.uima.ruta.expression.RutaExpression
          extended by org.apache.uima.ruta.expression.string.AbstractStringExpression
              extended by org.apache.uima.ruta.expression.string.StringFunctionExpression
                  extended by org.apache.uima.ruta.example.extensions.ExampleStringFunction
All Implemented Interfaces:
org.apache.uima.ruta.expression.IRutaExpression, org.apache.uima.ruta.expression.string.IStringExpression

public class ExampleStringFunction
extends org.apache.uima.ruta.expression.string.StringFunctionExpression


Constructor Summary
ExampleStringFunction(org.apache.uima.ruta.expression.type.TypeExpression expr)
           
 
Method Summary
 org.apache.uima.ruta.expression.type.TypeExpression getExpr()
           
 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.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
 

Constructor Detail

ExampleStringFunction

public ExampleStringFunction(org.apache.uima.ruta.expression.type.TypeExpression expr)
Method Detail

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


Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.