net.sf.xaj.web
Class XmlDbWebService
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.AbstractCommandController
net.sf.xaj.web.XmlDbWebService
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, org.springframework.web.servlet.mvc.Controller
public class XmlDbWebService
- extends org.springframework.web.servlet.mvc.AbstractCommandController
Simple web-based service for interacting with an XmlDb.
- 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 |
Methods inherited from class org.springframework.web.servlet.mvc.AbstractCommandController |
handleRequestInternal |
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 |
DEFAULT_XQUERY_RESULTS_MODEL_KEY
public static final java.lang.String DEFAULT_XQUERY_RESULTS_MODEL_KEY
- The default value for the
xQueryResultsModelKey
property.
- See Also:
- Constant Field Values
XmlDbWebService
public XmlDbWebService()
handle
protected org.springframework.web.servlet.ModelAndView handle(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:
handle
in class org.springframework.web.servlet.mvc.AbstractCommandController
- Throws:
java.lang.Exception
getCommand
protected java.lang.Object getCommand(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
- Overrides:
getCommand
in class org.springframework.web.servlet.mvc.BaseCommandController
- Throws:
java.lang.Exception
getXmlDbManager
public XmlDbManager getXmlDbManager()
- Returns:
- the xmlDbManager
setXmlDbManager
public void setXmlDbManager(XmlDbManager xmlDbManager)
- Parameters:
xmlDbManager
- the xmlDbManager to set
getXQueryResultsModelKey
public java.lang.String getXQueryResultsModelKey()
- Returns:
- the xQueryResultsModelKey
setXQueryResultsModelKey
public void setXQueryResultsModelKey(java.lang.String queryResultsModelKey)
- Parameters:
queryResultsModelKey
- the xQueryResultsModelKey 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