org.springframework.extensions.surf.core.processor
Interface Processor

All Known Implementing Classes:
AbstractScriptProcessor, AbstractTemplateProcessor, BaseProcessor, BaseRegisterableScriptProcessor, BaseRegisterableTemplateProcessor, FTLTemplateProcessor, GroovyScriptProcessor, GroovyTemplateProcessor, JSScriptProcessor, PHPScriptProcessor, PHPTemplateProcessor

public interface Processor

Interface for Proccessor classes - such as Template or Scripting Processors.

Author:
Roy Wetherall

Method Summary
 String getExtension()
          The file extension that the processor is associated with, null if none.
 String getName()
          Get the name of the processor
 void registerProcessorExtension(ProcessorExtension processorExtension)
          Registers a processor extension with the processor
 

Method Detail

getName

String getName()
Get the name of the processor

Returns:
the name of the processor

getExtension

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


Copyright © 2009 SpringSource, Inc. All Rights Reserved.