fedora.localservices.saxon
Class SaxonServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byfedora.localservices.saxon.SaxonServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SaxonServlet
extends javax.servlet.http.HttpServlet

Title: SaxonServlet.java

Description: Transforms a supplied input document using a supplied stylesheet.

Adapted from the SaxonServlet.java example file contained in the source distribution of "The SAXON XSLT Processor from Michael Kay".

-----------------------------------------------------------------------------

License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The original code is Copyright © 2001 by Michael Kay. All rights reserved. The current project homepage for Saxon may be found at: http://saxon.sourceforge.net/.

Portions created for the Fedora Repository System are Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved."

-----------------------------------------------------------------------------

Version:
Saxon 6.5.2, $Id: SaxonServlet.java,v 1.6 2005/01/11 20:59:13 cwilper Exp $
Author:
Michael Kay
See Also:
Serialized Form

Constructor Summary
SaxonServlet()
           
 
Method Summary
 java.lang.String getServletInfo()
          getServletInfo Required by Servlet interface
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          service() - accept request and produce response
URL parameters: source - URL of source document style - URL of stylesheet clear-stylesheet-cache - if set to yes, empties the cache before running.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaxonServlet

public SaxonServlet()
Method Detail

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws javax.servlet.ServletException,
                    java.io.IOException
service() - accept request and produce response
URL parameters:

Parameters:
req - The HTTP request
res - The HTTP response
Throws:
javax.servlet.ServletException
java.io.IOException

getServletInfo

public java.lang.String getServletInfo()
getServletInfo Required by Servlet interface