Class GazetteerCommandsDispatcher

java.lang.Object
de.unibamberg.minf.gtf.commands.BaseCommands
de.unibamberg.minf.gtf.commands.BaseCommandDispatcher
de.unibamberg.minf.gtf.extensions.dai.dispatcher.GazetteerCommandsDispatcher
All Implemented Interfaces:
de.unibamberg.minf.gtf.commands.CommandDispatcher, de.unibamberg.minf.gtf.commands.Commands

public class GazetteerCommandsDispatcher extends de.unibamberg.minf.gtf.commands.BaseCommandDispatcher implements de.unibamberg.minf.gtf.commands.CommandDispatcher
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.unibamberg.minf.gtf.commands.BaseCommandDispatcher

    de.unibamberg.minf.gtf.commands.BaseCommandDispatcher.DispatcherWithLocalCommand
  • Field Summary

    Fields inherited from class de.unibamberg.minf.gtf.commands.BaseCommands

    SIMPLE_TYPES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> de.unibamberg.minf.gtf.syntaxtree.SyntaxTreeNode
    convert(T c)
     
    executeDirect(String command, Object[] args, de.unibamberg.minf.gtf.context.ExecutionContext executionContext)
     
     
    void
     
    boolean
     

    Methods inherited from class de.unibamberg.minf.gtf.commands.BaseCommandDispatcher

    execute, findExecutingDispatcher, supports, supportsDirect

    Methods inherited from class de.unibamberg.minf.gtf.commands.BaseCommands

    convert, ensureCollection, ensureCollection, ensureCollectionSize, ensureCollectionSize, ensureCollectionSizeAtLeast, flattenArgs, getAsSimpleValue, getAsSimpleValue, getConversionSupportingDispatcher, getEnclosedType, getSubordinateDispatchers, isCollectionType, isNullValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.unibamberg.minf.gtf.commands.CommandDispatcher

    execute, supports, supportsDirect

    Methods inherited from interface de.unibamberg.minf.gtf.commands.Commands

    convert, ensureCollection, ensureCollection, ensureCollectionSize, ensureCollectionSize, ensureCollectionSizeAtLeast, flattenArgs, getAsSimpleValue, getAsSimpleValue, getConversionSupportingDispatcher, getEnclosedType, getSubordinateDispatchers, isCollectionType, isNullValue
  • Constructor Details

    • GazetteerCommandsDispatcher

      public GazetteerCommandsDispatcher()
  • Method Details

    • getCommands

      public GazetteerCommands getCommands()
    • setCommands

      public void setCommands(GazetteerCommands commands)
    • executeDirect

      public Object executeDirect(String command, Object[] args, de.unibamberg.minf.gtf.context.ExecutionContext executionContext) throws de.unibamberg.minf.gtf.exceptions.CommandExecutionException
      Overrides:
      executeDirect in class de.unibamberg.minf.gtf.commands.BaseCommandDispatcher
      Throws:
      de.unibamberg.minf.gtf.exceptions.CommandExecutionException
    • supportsConversion

      public boolean supportsConversion(Class<?> c)
      Specified by:
      supportsConversion in interface de.unibamberg.minf.gtf.commands.Commands
      Overrides:
      supportsConversion in class de.unibamberg.minf.gtf.commands.BaseCommandDispatcher
    • convert

      public <T> de.unibamberg.minf.gtf.syntaxtree.SyntaxTreeNode convert(T c) throws de.unibamberg.minf.gtf.exceptions.DataTransformationException
      Specified by:
      convert in interface de.unibamberg.minf.gtf.commands.Commands
      Overrides:
      convert in class de.unibamberg.minf.gtf.commands.BaseCommandDispatcher
      Throws:
      de.unibamberg.minf.gtf.exceptions.DataTransformationException