Expresso 5-6

com.jcorporate.expresso.core.servlet.viewhandler
Class XMLViewHandler

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.jcorporate.expresso.core.servlet.StdServlet
              extended bycom.jcorporate.expresso.core.servlet.DBServlet
                  extended bycom.jcorporate.expresso.core.servlet.viewhandler.ViewHandler
                      extended bycom.jcorporate.expresso.core.servlet.viewhandler.XMLViewHandler
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class XMLViewHandler
extends ViewHandler

Special servlet designed to interact with server-side Controller objects, transforming xml

Author:
Michael Nash, Larry Hamel
See Also:
Serialized Form

Field Summary
protected static String thisClass
           
 
Fields inherited from class com.jcorporate.expresso.core.servlet.StdServlet
mySchema
 
Constructor Summary
XMLViewHandler()
           
 
Method Summary
 void handleView(ControllerResponse con, HttpServletRequest req, HttpServletResponse res)
          Handle the Controller by producing XML output, transforming via a specified XSL stylesheet Creation date: (8/3/00 5:22:58 PM)
 void init(ServletConfig sc)
          Standard Servlet init() function
 
Methods inherited from class com.jcorporate.expresso.core.servlet.viewhandler.ViewHandler
doGet, doPost, getTitle, process
 
Methods inherited from class com.jcorporate.expresso.core.servlet.DBServlet
destroy, getDBName, requireLogin, setDBName, setSkipLogin, setupChannels
 
Methods inherited from class com.jcorporate.expresso.core.servlet.StdServlet
getSchema, getServerName, getServerPort, getServletPrefix, getServletPrefix, getString, getString, handleParam, setSchema, showError, showError
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
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

thisClass

protected static final String thisClass
Constructor Detail

XMLViewHandler

public XMLViewHandler()
Method Detail

handleView

public void handleView(ControllerResponse con,
                       HttpServletRequest req,
                       HttpServletResponse res)
                throws ControllerException,
                       IOException,
                       ServletException
Handle the Controller by producing XML output, transforming via a specified XSL stylesheet Creation date: (8/3/00 5:22:58 PM)

Specified by:
handleView in class ViewHandler
Throws:
ControllerException
IOException
ServletException

init

public void init(ServletConfig sc)
          throws ServletException
Standard Servlet init() function

Specified by:
init in interface Servlet
Overrides:
init in class DBServlet
Parameters:
sc - The servlet Configuration passed by the web.xml file
Throws:
ServletException

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.