org.apache.cocoon
Class Frontend
java.lang.Object
|
+--org.apache.cocoon.Frontend
- public class Frontend
- extends java.lang.Object
The Cocoon Frontend.
This class implements all those methods used to pretty print the output
from the Cocoon servlet itself. Since the engine may not be available,
the style is hardcoded into this class, even if this goes against any
smart publishing behavior. (ECS may be used instead).
- Version:
- $Revision: 1.6 $ $Date: 1999/10/19 21:39:32 $
- Author:
- Stefano Mazzocchi
Method Summary |
static void |
error(javax.servlet.ServletResponse response,
java.lang.String message)
|
static void |
error(javax.servlet.ServletResponse response,
java.lang.String message,
java.lang.Throwable t)
|
static void |
footer(java.io.PrintWriter out)
|
static void |
header(java.io.PrintWriter out)
|
static void |
header(java.io.PrintWriter out,
int width)
|
static void |
print(javax.servlet.ServletResponse response,
java.lang.String title,
java.lang.String message)
|
static void |
status(javax.servlet.ServletResponse response,
java.util.Hashtable environment,
java.util.Hashtable engine)
|
static void |
table(java.io.PrintWriter out,
java.lang.String name,
java.util.Hashtable table)
|
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
YEAR
public static final java.lang.String YEAR
colors
public static final java.lang.String[] colors
SINGLE_COLUMN
public static final java.lang.String SINGLE_COLUMN
Frontend
public Frontend()
status
public static void status(javax.servlet.ServletResponse response,
java.util.Hashtable environment,
java.util.Hashtable engine)
throws java.io.IOException
error
public static void error(javax.servlet.ServletResponse response,
java.lang.String message)
throws java.io.IOException
error
public static void error(javax.servlet.ServletResponse response,
java.lang.String message,
java.lang.Throwable t)
throws java.io.IOException
print
public static void print(javax.servlet.ServletResponse response,
java.lang.String title,
java.lang.String message)
throws java.io.IOException
header
public static void header(java.io.PrintWriter out)
header
public static void header(java.io.PrintWriter out,
int width)
footer
public static void footer(java.io.PrintWriter out)
table
public static void table(java.io.PrintWriter out,
java.lang.String name,
java.util.Hashtable table)
Copyright 1999 Java Apache Project. All Rights Reserved.