Package de.unibamberg.minf.gtf.commands
Interface Commands
- All Known Subinterfaces:
CommandDispatcher
- All Known Implementing Classes:
BaseCommandDispatcher,BaseCommands
public interface Commands
-
Method Summary
Modifier and TypeMethodDescription<T> SyntaxTreeNodeconvert(Collection<? extends T> c) <T> SyntaxTreeNodeconvert(T c) <T> Collection<T>ensureCollection(Class<T> type, Object arg) Collection<?>ensureCollection(Object arg) booleanensureCollectionSize(Object arg, int size) booleanensureCollectionSize(Object arg, int minSize, int maxSize) booleanensureCollectionSizeAtLeast(Object arg, int minSize) flattenArgs(Object[] args) getAsSimpleValue(Object arg) getAsSimpleValue(Object arg, boolean skipSubordinate) Class<?>getEnclosedType(Object arg) booleanisCollectionType(Object arg) booleanisNullValue(Object arg) booleansupportsConversion(Class<?> c)
-
Method Details
-
getAsSimpleValue
-
getAsSimpleValue
-
isNullValue
-
getEnclosedType
-
isCollectionType
-
ensureCollection
-
ensureCollectionSize
-
ensureCollectionSize
-
getConversionSupportingDispatcher
-
convert
- Throws:
DataTransformationException
-
convert
- Throws:
DataTransformationException
-
getSubordinateDispatchers
Map<String,CommandDispatcher> getSubordinateDispatchers() -
supportsConversion
-
flattenArgs
-
ensureCollection
-
ensureCollectionSizeAtLeast
-