com.xmlserv.main
Class XMLServFileBackend
java.lang.Object
|
+--com.xmlserv.main.XMLServBackendImpl
|
+--com.xmlserv.main.XMLServFileBackend
- All Implemented Interfaces:
- XMLServBackend
- public class XMLServFileBackend
- extends XMLServBackendImpl
A sample backend serving (XML) files.
- Version:
- $Id: XMLServFileBackend.java,v 1.7 2002/11/14 17:03:41 muecke Exp $
Method Summary |
void |
init()
Initialize. |
org.jdom.Document |
process(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
SecurityManager securitymanager)
Override main method of baseclass. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLServFileBackend
public XMLServFileBackend()
- Create instance.
init
public void init()
throws javax.servlet.ServletException
- Initialize.
- Overrides:
init
in class XMLServBackendImpl
process
public org.jdom.Document process(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
SecurityManager securitymanager)
throws javax.servlet.ServletException,
java.io.IOException
- Override main method of baseclass.
- Overrides:
process
in class XMLServBackendImpl
- Following copied from class:
com.xmlserv.main.XMLServBackendImpl
- Parameters:
context
- The servlet context.req
- The HTTP request.securitymanager
- The SecurityManager instance associated with this object.- Returns:
- An XML document.
- Throws:
XMLServException
- Indicates an error condition in the business logic.javax.servlet.ServletException
- A generic failure.java.io.IOException
- Any I/O error condition.