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

java.lang.Object
  extended by org.apache.uima.ruta.RutaElement
      extended by org.apache.uima.ruta.RutaStatement
          extended by org.apache.uima.ruta.RutaBlock
              extended by org.apache.uima.ruta.example.extensions.ExampleBlock

public class ExampleBlock
extends org.apache.uima.ruta.RutaBlock

Exemplary implementation of a block extension, which applied its rules in reverse order.


Field Summary
 
Fields inherited from class org.apache.uima.ruta.RutaBlock
elements, environment, name, rule
 
Constructor Summary
ExampleBlock(org.apache.uima.ruta.RutaBlock parent, String defaultNamespace)
           
 
Method Summary
 org.apache.uima.ruta.ScriptApply apply(org.apache.uima.ruta.RutaStream stream, org.apache.uima.ruta.visitor.InferenceCrowd crowd)
           
 
Methods inherited from class org.apache.uima.ruta.RutaBlock
getElements, getEnvironment, getName, getNamespace, getRule, getScript, setElements, setRule, setScript
 
Methods inherited from class org.apache.uima.ruta.RutaStatement
getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleBlock

public ExampleBlock(org.apache.uima.ruta.RutaBlock parent,
                    String defaultNamespace)
Method Detail

apply

public org.apache.uima.ruta.ScriptApply apply(org.apache.uima.ruta.RutaStream stream,
                                              org.apache.uima.ruta.visitor.InferenceCrowd crowd)
Specified by:
apply in class org.apache.uima.ruta.RutaStatement


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