Package org.mycore.frontend.servlets
Class MCRClassificationBrowser2
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.frontend.servlets.MCRClassificationBrowser2
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
This servlet provides a way to visually navigate through the tree of
categories of a classification. The XML output is transformed to HTML
using classificationBrowserData.xsl on the server side, then sent to
the client browser, where AJAX does the rest.
- Author:
- Frank Lützenkirchen
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.mycore.frontend.servlets.MCRServlet
ATTR_MYCORE_SESSION, CURRENT_THREAD_NAME_KEY, INITIAL_SERVLET_NAME_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Returns true if this servlet allows Cross-domain requests.protected void
configureQueryAdapter
(MCRClassificationBrowser2.MCRQueryAdapter queryAdapter, jakarta.servlet.http.HttpServletRequest req) void
doGetPost
(MCRServletJob job) This method should be overwritten by other servlets.getQueryAdapter
(String fieldName) Methods inherited from class org.mycore.frontend.servlets.MCRServlet
buildRedirectURL, cleanupMCRSession, doGet, doGet, doPost, doPost, getErrorI18N, getLastModified, getLayoutService, getProperty, getReferer, getServletBaseURL, getSession, handleException, init, initializeMCRSession, render, reportException, think, toReferrer, toReferrer
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
MCRClassificationBrowser2
public MCRClassificationBrowser2()
-
-
Method Details
-
getQueryAdapter
-
configureQueryAdapter
protected void configureQueryAdapter(MCRClassificationBrowser2.MCRQueryAdapter queryAdapter, jakarta.servlet.http.HttpServletRequest req) -
doGetPost
Description copied from class:MCRServlet
This method should be overwritten by other servlets. As a default response we indicate the HTTP 1.1 status code 501 (Not Implemented).- Overrides:
doGetPost
in classMCRServlet
- Throws:
Exception
-
allowCrossDomainRequests
protected boolean allowCrossDomainRequests()Description copied from class:MCRServlet
Returns true if this servlet allows Cross-domain requests. The default value defined byMCRServlet
isfalse
.- Overrides:
allowCrossDomainRequests
in classMCRServlet
-