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

java.lang.Object
  extended by org.apache.uima.ruta.example.extensions.ExampleTypeFunctionExtension
All Implemented Interfaces:
org.apache.uima.ruta.extensions.IRutaExtension, org.apache.uima.ruta.extensions.IRutaTypeFunctionExtension

public class ExampleTypeFunctionExtension
extends Object
implements org.apache.uima.ruta.extensions.IRutaTypeFunctionExtension


Constructor Summary
ExampleTypeFunctionExtension()
           
 
Method Summary
 org.apache.uima.ruta.expression.type.TypeFunctionExpression createTypeFunction(String name, List<org.apache.uima.ruta.expression.RutaExpression> args)
           
 Class<?>[] extensions()
           
 String[] getKnownExtensions()
           
 String verbalize(org.apache.uima.ruta.RutaElement element, org.apache.uima.ruta.verbalize.RutaVerbalizer verbalizer)
           
 String verbalizeName(org.apache.uima.ruta.RutaElement element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleTypeFunctionExtension

public ExampleTypeFunctionExtension()
Method Detail

verbalize

public String verbalize(org.apache.uima.ruta.RutaElement element,
                        org.apache.uima.ruta.verbalize.RutaVerbalizer verbalizer)
Specified by:
verbalize in interface org.apache.uima.ruta.extensions.IRutaExtension

createTypeFunction

public org.apache.uima.ruta.expression.type.TypeFunctionExpression createTypeFunction(String name,
                                                                                      List<org.apache.uima.ruta.expression.RutaExpression> args)
                                                                               throws org.apache.uima.ruta.extensions.RutaParseException
Specified by:
createTypeFunction in interface org.apache.uima.ruta.extensions.IRutaTypeFunctionExtension
Throws:
org.apache.uima.ruta.extensions.RutaParseException

verbalizeName

public String verbalizeName(org.apache.uima.ruta.RutaElement element)
Specified by:
verbalizeName in interface org.apache.uima.ruta.extensions.IRutaExtension

getKnownExtensions

public String[] getKnownExtensions()
Specified by:
getKnownExtensions in interface org.apache.uima.ruta.extensions.IRutaExtension

extensions

public Class<?>[] extensions()
Specified by:
extensions in interface org.apache.uima.ruta.extensions.IRutaExtension


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