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

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.bool.BooleanFunctionExpression
                  extended by org.apache.uima.ruta.example.extensions.ExampleBooleanFunction
All Implemented Interfaces:
org.apache.uima.ruta.expression.bool.IBooleanExpression, org.apache.uima.ruta.expression.IRutaExpression, org.apache.uima.ruta.expression.string.IStringExpression

public class ExampleBooleanFunction
extends org.apache.uima.ruta.expression.bool.BooleanFunctionExpression


Constructor Summary
ExampleBooleanFunction(org.apache.uima.ruta.expression.type.TypeExpression expr)
           
 
Method Summary
 boolean getBooleanValue(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()
           
 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
 
Methods inherited from interface org.apache.uima.ruta.expression.string.IStringExpression
getStringValue
 

Constructor Detail

ExampleBooleanFunction

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

getExpr

public org.apache.uima.ruta.expression.type.TypeExpression getExpr()

getBooleanValue

public boolean getBooleanValue(org.apache.uima.ruta.RutaBlock parent,
                               org.apache.uima.cas.text.AnnotationFS annotation,
                               org.apache.uima.ruta.RutaStream stream)
Specified by:
getBooleanValue in interface org.apache.uima.ruta.expression.bool.IBooleanExpression

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.