Interface Processor
-
- All Known Implementing Classes:
AbstractScriptProcessor,AbstractTemplateProcessor,BaseProcessor,BaseRegisterableScriptProcessor,BaseRegisterableTemplateProcessor,FTLTemplateProcessor,JSScriptProcessor
public interface ProcessorInterface for Proccessor classes - such as Template or Scripting Processors.- Author:
- Roy Wetherall
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetExtension()The file extension that the processor is associated with, null if none.java.lang.StringgetName()Get the name of the processorvoidregisterProcessorExtension(ProcessorExtension processorExtension)Registers a processor extension with the processor
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the name of the processor- Returns:
- the name of the processor
-
getExtension
java.lang.String getExtension()
The file extension that the processor is associated with, null if none.- Returns:
- the extension
-
registerProcessorExtension
void registerProcessorExtension(ProcessorExtension processorExtension)
Registers a processor extension with the processor- Parameters:
processorExtension- the process extension
-
-