org.mycore.frontend.wcms
Class MCRWCMSChooseServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.mycore.frontend.servlets.MCRServlet
              extended by org.mycore.frontend.wcms.MCRWCMSServlet
                  extended by org.mycore.frontend.wcms.MCRWCMSChooseServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class MCRWCMSChooseServlet
extends MCRWCMSServlet

Select action process for Web-Content-Management-System (WCMS).

See Also:
Serialized Form

Field Summary
(package private)  char c
           
(package private)  List contentList
           
(package private)  List currentLangContentOutput
           
(package private)  char d
           
(package private)  List defaultLangContentOutput
           
(package private)  char fs
           
(package private)  boolean validXHTML
           
 
Fields inherited from class org.mycore.frontend.wcms.MCRWCMSServlet
OUTPUT_ENCODING, VALIDATOR
 
Fields inherited from class org.mycore.frontend.servlets.MCRServlet
BASE_URL_ATTRIBUTE, trustedProxies
 
Constructor Summary
MCRWCMSChooseServlet()
           
 
Method Summary
 String getLabel(Element element, String language)
          Finds the right label
protected  void processRequest(HttpServletRequest request, HttpServletResponse response)
          Main program called by doGet and doPost.
 void reverse(List l)
           
 void validate(Element element)
          Finds the selected element in the navigation.xml and assigns attribute values for the variables of the jdom object and setting character c respectively.
 
Methods inherited from class org.mycore.frontend.wcms.MCRWCMSServlet
accessGeneral, doGetPost, getMultimediaConfig, getTemplates, XMLFile2JDOM
 
Methods inherited from class org.mycore.frontend.servlets.MCRServlet
buildRedirectURL, doGet, doGet, doPost, doPost, generateActiveLinkErrorpage, generateErrorPage, getBaseURL, getLastModified, getLayoutService, getProperty, getRemoteAddr, getServletBaseURL, getSession, handleException, init, initTrustedProxies, render, reportException, think
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

c

char c

d

char d

fs

char fs

validXHTML

boolean validXHTML

contentList

List contentList

defaultLangContentOutput

List defaultLangContentOutput

currentLangContentOutput

List currentLangContentOutput
Constructor Detail

MCRWCMSChooseServlet

public MCRWCMSChooseServlet()
Method Detail

processRequest

protected void processRequest(HttpServletRequest request,
                              HttpServletResponse response)
                       throws IOException
Main program called by doGet and doPost.

Specified by:
processRequest in class MCRWCMSServlet
Throws:
IOException

validate

public void validate(Element element)
Finds the selected element in the navigation.xml and assigns attribute values for the variables of the jdom object and setting character c respectively.


getLabel

public String getLabel(Element element,
                       String language)
Finds the right label


reverse

public void reverse(List l)