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

java.lang.Object
  extended by org.apache.uima.ruta.RutaElement
      extended by org.apache.uima.ruta.condition.AbstractRutaCondition
          extended by org.apache.uima.ruta.example.extensions.ExampleCondition

public class ExampleCondition
extends org.apache.uima.ruta.condition.AbstractRutaCondition


Constructor Summary
ExampleCondition(org.apache.uima.ruta.expression.string.AbstractStringExpression expr, org.apache.uima.ruta.expression.string.AbstractStringExpression format)
           
 
Method Summary
 org.apache.uima.ruta.rule.EvaluatedCondition eval(org.apache.uima.cas.text.AnnotationFS annotation, org.apache.uima.ruta.rule.RuleElement element, org.apache.uima.ruta.RutaStream stream, org.apache.uima.ruta.visitor.InferenceCrowd crowd)
           
 org.apache.uima.ruta.expression.string.AbstractStringExpression getExpr()
           
 org.apache.uima.ruta.expression.string.AbstractStringExpression getFormatExpr()
           
 
Methods inherited from class org.apache.uima.ruta.condition.AbstractRutaCondition
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExampleCondition

public ExampleCondition(org.apache.uima.ruta.expression.string.AbstractStringExpression expr,
                        org.apache.uima.ruta.expression.string.AbstractStringExpression format)
Method Detail

eval

public org.apache.uima.ruta.rule.EvaluatedCondition eval(org.apache.uima.cas.text.AnnotationFS annotation,
                                                         org.apache.uima.ruta.rule.RuleElement element,
                                                         org.apache.uima.ruta.RutaStream stream,
                                                         org.apache.uima.ruta.visitor.InferenceCrowd crowd)
Specified by:
eval in class org.apache.uima.ruta.condition.AbstractRutaCondition

getExpr

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

getFormatExpr

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


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