Package science.aist.gtf.visualization
Interface TemplatePreprocessor<T>
-
- Type Parameters:
T
- The type of the element that should be processed
public interface TemplatePreprocessor<T>
Preprocessor of Template Arguments
- Since:
- 1.0
- Author:
- Andreas Pointner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canPreprocess(Object toProcess)
Inputs any type of object, that should be processed.Map<String,Object>
process(T toProcess)
Processes the object and extracts additional properties
-
-
-
Method Detail
-
canPreprocess
boolean canPreprocess(Object toProcess)
Inputs any type of object, that should be processed. This method must check if the object is of type T, as well as if this object should be processed by the TemplatePreprocessor.- Parameters:
toProcess
- the object to be checked- Returns:
- whether if the processor should be called for a given object or not.
-
-