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

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.type.TypeExpression
                  extended by org.apache.uima.ruta.expression.type.TypeFunctionExpression
                      extended by org.apache.uima.ruta.example.extensions.ExampleTypeFunction
All Implemented Interfaces:
org.apache.uima.ruta.expression.IRutaExpression, org.apache.uima.ruta.expression.string.IStringExpression

public class ExampleTypeFunction
extends org.apache.uima.ruta.expression.type.TypeFunctionExpression


Constructor Summary
ExampleTypeFunction(org.apache.uima.ruta.expression.string.AbstractStringExpression expr)
           
 
Method Summary
 org.apache.uima.ruta.expression.string.AbstractStringExpression getExpr()
           
 String getStringValue(org.apache.uima.ruta.RutaBlock parent, org.apache.uima.cas.text.AnnotationFS annotation, org.apache.uima.ruta.RutaStream stream)
           
 org.apache.uima.cas.Type getType(org.apache.uima.ruta.RutaBlock parent)
           
 
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

ExampleTypeFunction

public ExampleTypeFunction(org.apache.uima.ruta.expression.string.AbstractStringExpression expr)
Method Detail

getExpr

public org.apache.uima.ruta.expression.string.AbstractStringExpression getExpr()

getType

public org.apache.uima.cas.Type getType(org.apache.uima.ruta.RutaBlock parent)
Specified by:
getType in class org.apache.uima.ruta.expression.type.TypeExpression

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.