net.sf.xaj.web
Class XQueryAdminController
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
org.springframework.web.servlet.mvc.BaseCommandController
org.springframework.web.servlet.mvc.AbstractFormController
net.sf.xaj.web.XQueryAdminController
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, org.springframework.web.servlet.mvc.Controller
public class XQueryAdminController
- extends org.springframework.web.servlet.mvc.AbstractFormController
Admin controller for executing XQuery programs.
- Version:
- $Revision: 62 $ $Date: 2007-11-21 11:37:17 +1300 (Wed, 21 Nov 2007) $
- Author:
- matt
Fields inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
DEFAULT_COMMAND_NAME |
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator |
HEADER_CACHE_CONTROL, HEADER_EXPIRES, HEADER_PRAGMA, METHOD_GET, METHOD_HEAD, METHOD_POST |
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
Method Summary |
java.lang.String |
getResultView()
|
XmlDbManager |
getXmlDbManager()
|
protected org.springframework.web.servlet.ModelAndView |
processFormSubmission(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors)
|
void |
setResultView(java.lang.String resultView)
|
void |
setXmlDbManager(XmlDbManager xmlDbManager)
|
protected org.springframework.web.servlet.ModelAndView |
showForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.validation.BindException errors)
|
Methods inherited from class org.springframework.web.servlet.mvc.AbstractFormController |
currentFormObject, formBackingObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleInvalidSubmit, handleRequestInternal, isBindOnNewForm, isFormSubmission, isSessionForm, onBindOnNewForm, onBindOnNewForm, referenceData, setBindOnNewForm, setSessionForm, showForm, showForm, showNewForm |
Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, initApplicationContext, initBinder, isValidateOnBinding, onBind, onBind, onBindAndValidate, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, suppressBinding, suppressValidation |
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController |
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession |
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseExpiresHeader |
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
getServletContext, getTempDir, getWebApplicationContext, isContextRequired |
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODEL_KEY_RESULT
public static final java.lang.String MODEL_KEY_RESULT
- The model key for the
XQueryAdminController.Result
object.
- See Also:
- Constant Field Values
MODEL_KEY_INPUT
public static final java.lang.String MODEL_KEY_INPUT
- The model key for the
XQueryAdminController.Command
object.
- See Also:
- Constant Field Values
XQueryAdminController
public XQueryAdminController()
showForm
protected org.springframework.web.servlet.ModelAndView showForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.validation.BindException errors)
throws java.lang.Exception
- Specified by:
showForm
in class org.springframework.web.servlet.mvc.AbstractFormController
- Throws:
java.lang.Exception
processFormSubmission
protected org.springframework.web.servlet.ModelAndView processFormSubmission(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors)
throws java.lang.Exception
- Specified by:
processFormSubmission
in class org.springframework.web.servlet.mvc.AbstractFormController
- Throws:
java.lang.Exception
getXmlDbManager
public XmlDbManager getXmlDbManager()
- Returns:
- the xmlDbManager
setXmlDbManager
public void setXmlDbManager(XmlDbManager xmlDbManager)
- Parameters:
xmlDbManager
- the xmlDbManager to set
getResultView
public java.lang.String getResultView()
- Returns:
- the resultView
setResultView
public void setResultView(java.lang.String resultView)
- Parameters:
resultView
- the resultView to set