|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
uk.co.lakesidetech.springxmldb.spring.web.controller.AbstractXMLDBController
uk.co.lakesidetech.springxmldb.spring.web.controller.SimpleXPathXMLDBController
uk.co.lakesidetech.springxmldb.spring.web.controller.ParameterXPathXMLDBController
The ParameterXPathXMLDBController
is used to run an
xpath query against a collection in an XML database where the xpath
to run is supplied a request parameter (either through a form post or
on the query string)
Field Summary | |
protected java.lang.String |
xpathParameter
|
Fields inherited from class uk.co.lakesidetech.springxmldb.spring.web.controller.SimpleXPathXMLDBController |
xpath |
Fields inherited from class uk.co.lakesidetech.springxmldb.spring.web.controller.AbstractXMLDBController |
XMLQUERY_RESULTS_REQUEST_ATTRIBUTE |
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator |
HEADER_CACHE_CONTROL, HEADER_EXPIRES, HEADER_PRAGMA, METHOD_GET, METHOD_POST |
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
Constructor Summary | |
ParameterXPathXMLDBController()
|
Method Summary | |
org.springframework.web.servlet.ModelAndView |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
handle the request and return the query results as an Map of resourceID and query result in the model as "results" to the view to handle (either as XSLT, or straight XML or JSTL in a JSP page) |
void |
setXpathParameter(java.lang.String xpathParameter)
|
Methods inherited from class uk.co.lakesidetech.springxmldb.spring.web.controller.SimpleXPathXMLDBController |
setXpath |
Methods inherited from class uk.co.lakesidetech.springxmldb.spring.web.controller.AbstractXMLDBController |
formCollectionPathString, getCollection, getCollectionPrefix, getResultLimit, getView, getXmldbFacade, isAcceptCollectionFromRequest, replaceRequestParameterVariables, setAcceptCollectionFromRequest, setCollection, setCollectionPrefix, setResultLimit, setView, setXmldbFacade |
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, initApplicationContext, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.web.servlet.mvc.Controller |
handleRequest |
Field Detail |
protected java.lang.String xpathParameter
Constructor Detail |
public ParameterXPathXMLDBController()
Method Detail |
public void setXpathParameter(java.lang.String xpathParameter)
xpathParameter
- The xpathParameter to set.public org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
handleRequestInternal
in class SimpleXPathXMLDBController
request
- the HttpServletRequestresponse
- the HttpServletResponse
java.lang.Exception
- if anything goes wrongAbstractController.handleRequestInternal(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |