maiolum.xml.servlet
Class ChapterServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bymaiolum.xml.servlet.ChapterServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ChapterServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Field Summary
private static org.apache.log4j.Logger logger
           
private static XMLModuleManager moduleManager
           
private  java.lang.String xmlFileLocation
           
private  java.lang.String xslFileLocation
           
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Constructor Summary
ChapterServlet()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
protected  void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 java.lang.String getLangsHref(java.lang.String id)
           
 java.lang.String getSiblingHref(java.lang.String id, java.lang.String lang, java.lang.String msg)
           
 void init()
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, 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

moduleManager

private static XMLModuleManager moduleManager

xmlFileLocation

private java.lang.String xmlFileLocation

xslFileLocation

private java.lang.String xslFileLocation

logger

private static org.apache.log4j.Logger logger
Constructor Detail

ChapterServlet

public ChapterServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

doGet

protected void doGet(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse resp)
              throws javax.servlet.ServletException,
                     java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

getSiblingHref

public java.lang.String getSiblingHref(java.lang.String id,
                                       java.lang.String lang,
                                       java.lang.String msg)

getLangsHref

public java.lang.String getLangsHref(java.lang.String id)
                              throws java.lang.Exception
Throws:
java.lang.Exception

doPost

protected void doPost(javax.servlet.http.HttpServletRequest req,
                      javax.servlet.http.HttpServletResponse resp)
               throws javax.servlet.ServletException,
                      java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException