org.apache.cocoon
Class EngineWrapper
java.lang.Object
|
+--org.apache.cocoon.EngineWrapper
- public class EngineWrapper
- extends java.lang.Object
This class implements wrapping methods that allow the engine to be
called even from other APIs or standalone applications.
NOTE: this is a dirty hack and I know it. The problem is that Cocoon is
a servlet and the servlet API are not that easy to deal with when you
enter other modes of operation (like command line or RMI).
We will need to clean this up and remove the need of direct
HttpServletRequest/Response emulation when we integrate with Stylebook.
But I have more important stuff to do right now.
- Version:
- $Revision: 1.10 $ $Date: 2000/05/07 22:34:18 $
- Author:
- Stefano Mazzocchi
Method Summary |
void |
handle(java.io.PrintWriter out,
java.io.File pathToDocument)
|
void |
handle(java.io.PrintWriter out,
java.io.File documentPath,
java.lang.String document)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
EngineWrapper
protected EngineWrapper(Configurations confs)
throws java.lang.Exception
handle
public void handle(java.io.PrintWriter out,
java.io.File pathToDocument)
throws java.lang.Exception
handle
public void handle(java.io.PrintWriter out,
java.io.File documentPath,
java.lang.String document)
throws java.lang.Exception
Copyright © 1999-2000 Apache Software Foundation. All Rights Reserved.