org.apache.uima.ruta.example.extensions
Class ExampleBlock
java.lang.Object
org.apache.uima.ruta.RutaElement
org.apache.uima.ruta.RutaStatement
org.apache.uima.ruta.RutaBlock
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.
| 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 |
ExampleBlock
public ExampleBlock(org.apache.uima.ruta.RutaBlock parent,
String defaultNamespace)
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.