|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.surf.render.AbstractProcessor
public abstract class AbstractProcessor
Constructor Summary | |
---|---|
AbstractProcessor()
|
Method Summary | |
---|---|
void |
execute(ProcessorContext processorContext,
RenderFocus focus)
Executes the given focus of the processor output using the given processor context |
abstract void |
executeBody(ProcessorContext processorContext)
Executes the "body" of the processor output using the given processor context. |
void |
executeFooter(ProcessorContext processorContext)
Executes the "footer" of the processor output using the given processor context. |
void |
executeHeader(ProcessorContext processorContext)
Executes the "header" of the processor output using the given processor context. |
protected String |
getProperty(ProcessorContext processorContext,
String propertyName)
Returns a configuration property from the rendering processor descriptor. |
protected ProcessorContext.ProcessorDescriptor |
getRenderingDescriptor(ProcessorContext processorContext)
Helper method which returns the appropriate processor descriptor from the given processor descriptor for the current render mode. |
protected ProcessorContext.ProcessorDescriptor |
getRenderingDescriptor(ProcessorContext processorContext,
RenderMode renderMode)
|
void |
init(org.springframework.context.ApplicationContext applicationContext)
Initialisation hook point. |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event)
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.extensions.surf.render.Processor |
---|
exists |
Constructor Detail |
---|
public AbstractProcessor()
Method Detail |
---|
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void init(org.springframework.context.ApplicationContext applicationContext)
Processor
init
in interface Processor
applicationContext
- the application contextpublic void execute(ProcessorContext processorContext, RenderFocus focus) throws RendererExecutionException
Processor
execute
in interface Processor
RendererExecutionException
public void executeHeader(ProcessorContext processorContext) throws RendererExecutionException
Processor
executeHeader
in interface Processor
processorContext
- processorContext
RendererExecutionException
public abstract void executeBody(ProcessorContext processorContext) throws RendererExecutionException
Processor
executeBody
in interface Processor
processorContext
- processorContext
RendererExecutionException
public void executeFooter(ProcessorContext processorContext) throws RendererExecutionException
Processor
executeFooter
in interface Processor
processorContext
- processorContext
RendererExecutionException
protected ProcessorContext.ProcessorDescriptor getRenderingDescriptor(ProcessorContext processorContext)
processorContext
-
protected ProcessorContext.ProcessorDescriptor getRenderingDescriptor(ProcessorContext processorContext, RenderMode renderMode)
protected String getProperty(ProcessorContext processorContext, String propertyName)
processorContext
- propertyName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |