org.apache.cocoon
Class EngineWrapper

java.lang.Object
  |
  +--org.apache.cocoon.Engine
        |
        +--org.apache.cocoon.EngineWrapper

public class EngineWrapper
extends Engine

This class implements wrapping methods that allow the engine to be called even from other APIs or standalone applications.

Version:
$Revision: 1.3 $ $Date: 1999/10/19 21:39:32 $
Author:
Stefano Mazzocchi

Inner Class Summary
 class EngineWrapper.HttpServletRequestImpl
          Dummy implementation of the HttpServletRequest class to create a fake but funtional request for the main engine.
 class EngineWrapper.HttpServletResponseImpl
          Dummy implementation of the HttpServletResponse class to create a fake but funtional response for the main engine.
 
Fields inherited from class org.apache.cocoon.Engine
browsers, cache, configurations, formatters, manager, parser, processors, producers, showStatus, store
 
Constructor Summary
EngineWrapper(Configurations confs)
           
 
Method Summary
 void handle(java.io.PrintWriter out, java.lang.String document)
           
 
Methods inherited from class org.apache.cocoon.Engine
getFlag, getStatus, handle
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

EngineWrapper

public EngineWrapper(Configurations confs)
              throws java.lang.Exception
Method Detail

handle

public void handle(java.io.PrintWriter out,
                   java.lang.String document)
            throws java.lang.Exception


Copyright 1999 Java Apache Project. All Rights Reserved.