org.riotfamily.components.render.component
Class AbstractComponentRenderer
java.lang.Object
org.riotfamily.components.render.component.AbstractComponentRenderer
- All Implemented Interfaces:
- ComponentRenderer
- Direct Known Subclasses:
- ViewComponentRenderer
public abstract class AbstractComponentRenderer
- extends Object
- implements ComponentRenderer
Abstract base class for component implementations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTAINER
public static final String CONTAINER
COMPONENT_ID
public static final String COMPONENT_ID
- See Also:
- Constant Field Values
THIS
public static final String THIS
- See Also:
- Constant Field Values
PARENT
public static final String PARENT
- See Also:
- Constant Field Values
POSITION
public static final String POSITION
- See Also:
- Constant Field Values
LIST_SIZE
public static final String LIST_SIZE
- See Also:
- Constant Field Values
log
protected RiotLog log
AbstractComponentRenderer
public AbstractComponentRenderer()
render
public final void render(Component component,
int position,
int listSize,
HttpServletRequest request,
HttpServletResponse response)
throws IOException
- Description copied from interface:
ComponentRenderer
- Renders the given ComponentVersion.
- Specified by:
render
in interface ComponentRenderer
- Throws:
IOException
renderInternal
protected abstract void renderInternal(Component component,
int position,
int listSize,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Throws:
Exception