org.apache.cocoon
Class Engine
java.lang.Object
|
+--org.apache.cocoon.Engine
- Direct Known Subclasses:
- EngineWrapper
- public class Engine
- extends java.lang.Object
- implements Defaults
The Cocoon publishing engine.
This class implements the engine that does all the document processing.
- Version:
- $Revision: 1.22 $ $Date: 1999/10/28 13:24:43 $
- Author:
- Stefano Mazzocchi
Fields inherited from interface org.apache.cocoon.Defaults |
BROWSERS_PROP,
CACHE_DEFAULT,
CACHE_PROP,
COCOON_FORMAT_PI,
COCOON_PROCESS_PI,
DEBUG,
DEFAULT_BROWSER,
FORMATTER_PROP,
INIT_ARG,
INTERNAL_PROPERTIES,
INTERPRETER_PROP,
NAME,
PARSER_DEFAULT,
PARSER_PROP,
PROCESSOR_PROP,
PRODUCER_PROP,
PROPERTIES,
SHOW_STATUS,
STATUS_URL,
STATUS_URL_DEFAULT,
STORE_DEFAULT,
STORE_PROP,
STYLESHEET_PI,
VERBOSE,
VERSION |
Method Summary |
private boolean |
getFlag(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
boolean normal)
Returns the value of the request flag |
java.util.Hashtable |
getStatus()
Returns an hashtable of parameters used to report the internal status. |
void |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method is called to start the processing when calling the engine
from the Cocoon servlet. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
configurations
Configurations configurations
showStatus
boolean showStatus
producers
ProducerFactory producers
processors
ProcessorFactory processors
formatters
FormatterFactory formatters
manager
Manager manager
browsers
Browsers browsers
parser
Parser parser
cache
Cache cache
store
Store store
Engine
public Engine(Configurations configurations)
throws java.lang.Exception
- This method initializes the engine.
handle
public void handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- This method is called to start the processing when calling the engine
from the Cocoon servlet.
getFlag
private boolean getFlag(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
boolean normal)
- Returns the value of the request flag
getStatus
public java.util.Hashtable getStatus()
- Returns an hashtable of parameters used to report the internal status.
Copyright 1999 Java Apache Project. All Rights Reserved.