okapi.util
Class OkapiSimpleRenderer
java.lang.Object
okapi.util.OkapiSimpleRenderer
- All Implemented Interfaces:
- java.io.Serializable, OkapiToolRenderer
public class OkapiSimpleRenderer
- extends java.lang.Object
- implements OkapiToolRenderer
Implements OkapiToolRenderer interface simply: gather data and process it
using a specified style.
This renderer takes a string or stream from the tool model and outputs it.
- Version:
- $Revision: 31503 $, $Date: 2008-12-16 12:41:52 -0500 (Tue, 16 Dec 2008) $
- Author:
- MIT Stellar team
- See Also:
- Serialized Form
Method Summary |
void |
edit(OkapiToolModel toolModel,
java.util.List styles,
java.util.List styleMimeTypes,
java.util.Hashtable styleStores,
java.util.List pathVector,
java.lang.String pathSegment,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context,
java.util.List nexusHistory)
Edit method handles Post method invocations. |
void |
render(OkapiToolModel toolModel,
java.util.List styles,
java.util.List styleMimeTypes,
java.util.Hashtable styleStores,
java.util.List pathVector,
java.lang.String pathSegment,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context,
java.util.List nexusHistory)
Render method handles Get HTTP method invocations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OkapiSimpleRenderer
public OkapiSimpleRenderer()
render
public void render(OkapiToolModel toolModel,
java.util.List styles,
java.util.List styleMimeTypes,
java.util.Hashtable styleStores,
java.util.List pathVector,
java.lang.String pathSegment,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context,
java.util.List nexusHistory)
throws javax.servlet.ServletException
- Render method handles Get HTTP method invocations.
- Specified by:
render
in interface OkapiToolRenderer
- Throws:
javax.servlet.ServletException
edit
public void edit(OkapiToolModel toolModel,
java.util.List styles,
java.util.List styleMimeTypes,
java.util.Hashtable styleStores,
java.util.List pathVector,
java.lang.String pathSegment,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context,
java.util.List nexusHistory)
throws javax.servlet.ServletException
- Edit method handles Post method invocations. Different tool models are
usually used for Post and Get for a given tool. Succeess and Errors are
presented according to the style specified.
- Specified by:
edit
in interface OkapiToolRenderer
- Throws:
javax.servlet.ServletException
Copyright ? 2001-2009 MIT. All Rights Reserved.