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 -
Method Summary
Modifier and TypeMethodDescription<T> de.unibamberg.minf.gtf.syntaxtree.SyntaxTreeNodeconvert(T c) executeDirect(String command, Object[] args, de.unibamberg.minf.gtf.context.ExecutionContext executionContext) voidsetCommands(GazetteerCommands commands) booleansupportsConversion(Class<?> c) Methods inherited from class de.unibamberg.minf.gtf.commands.BaseCommandDispatcher
execute, findExecutingDispatcher, supports, supportsDirectMethods inherited from class de.unibamberg.minf.gtf.commands.BaseCommands
convert, ensureCollection, ensureCollection, ensureCollectionSize, ensureCollectionSize, ensureCollectionSizeAtLeast, flattenArgs, getAsSimpleValue, getAsSimpleValue, getConversionSupportingDispatcher, getEnclosedType, getSubordinateDispatchers, isCollectionType, isNullValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.unibamberg.minf.gtf.commands.CommandDispatcher
execute, supports, supportsDirectMethods 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
-
setCommands
-
executeDirect
public Object executeDirect(String command, Object[] args, de.unibamberg.minf.gtf.context.ExecutionContext executionContext) throws de.unibamberg.minf.gtf.exceptions.CommandExecutionException - Overrides:
executeDirectin classde.unibamberg.minf.gtf.commands.BaseCommandDispatcher- Throws:
de.unibamberg.minf.gtf.exceptions.CommandExecutionException
-
supportsConversion
- Specified by:
supportsConversionin interfacede.unibamberg.minf.gtf.commands.Commands- Overrides:
supportsConversionin classde.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:
convertin interfacede.unibamberg.minf.gtf.commands.Commands- Overrides:
convertin classde.unibamberg.minf.gtf.commands.BaseCommandDispatcher- Throws:
de.unibamberg.minf.gtf.exceptions.DataTransformationException
-