org.springframework.extensions.surf.site
Class EmptyRegionRenderer
java.lang.Object
org.springframework.extensions.surf.render.AbstractProcessor
org.springframework.extensions.surf.site.EmptyRegionRenderer
- All Implemented Interfaces:
- EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener, Processor
public class EmptyRegionRenderer
- extends AbstractProcessor
Processor class which renders a null result.
Used to render vacant "empty" regions when there are no bound components.
A common use case for application that are not "design focused".
- Author:
- Kevin Roast
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyRegionRenderer
public EmptyRegionRenderer()
executeHeader
public void executeHeader(ProcessorContext pc)
throws RendererExecutionException
- Description copied from interface:
Processor
- Executes the "header" of the processor output using the given
processor context.
- Specified by:
executeHeader
in interface Processor
- Overrides:
executeHeader
in class AbstractProcessor
- Parameters:
pc
- processorContext
- Throws:
RendererExecutionException
executeBody
public void executeBody(ProcessorContext pc)
throws RendererExecutionException
- Description copied from interface:
Processor
- Executes the "body" of the processor output using the given
processor context.
- Specified by:
executeBody
in interface Processor
- Specified by:
executeBody
in class AbstractProcessor
- Parameters:
pc
- processorContext
- Throws:
RendererExecutionException
exists
public boolean exists(ProcessorContext pc)
- Description copied from interface:
Processor
- Indicates whether the engine responsible for processing
the body of the processor exists.
- Returns:
Copyright © 2009 SpringSource, Inc. All Rights Reserved.