|
|||||||||
| Home >> All >> org >> apache >> turbine >> [ modules overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.turbine.modules
Class Screen

java.lang.Objectorg.apache.turbine.modules.Assembler
org.apache.turbine.modules.Screen
- public abstract class Screen
- extends Assembler
This is the base class which defines the Screen modules.
- Version:
- $Id: Screen.java 264148 2005-08-29 14:21:04Z henning $
| Constructor Summary | |
Screen()
|
|
| Method Summary | |
protected org.apache.ecs.ConcreteElement |
build(org.apache.turbine.util.RunData data)
Subclasses can override this method to add additional functionality. |
protected abstract org.apache.ecs.ConcreteElement |
doBuild(org.apache.turbine.util.RunData data)
A subclass must override this method to build itself. |
java.lang.String |
getLayout(org.apache.turbine.util.RunData data)
If the Layout has not been defined by the Screen then set the layout to be "DefaultLayout". |
static java.lang.String |
prepareText(java.lang.String s)
Deprecated. Use InputFilterUtils.prepareText(String s) |
static java.lang.String |
prepareTextMinimum(java.lang.String s)
Deprecated. Use InputFilterUtils.prepareTextMinimum(String s) |
void |
setLayout(org.apache.turbine.util.RunData data,
java.lang.String layout)
Set the layout for a Screen. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
Screen
public Screen()
| Method Detail |
doBuild
protected abstract org.apache.ecs.ConcreteElement doBuild(org.apache.turbine.util.RunData data) throws java.lang.Exception
- A subclass must override this method to build itself.
Subclasses override this method to store the screen in RunData
or to write the screen to the output stream referenced in
RunData.
build
protected org.apache.ecs.ConcreteElement build(org.apache.turbine.util.RunData data) throws java.lang.Exception
- Subclasses can override this method to add additional
functionality. This method is protected to force clients to
use ScreenLoader to build a Screen.
getLayout
public java.lang.String getLayout(org.apache.turbine.util.RunData data)
- If the Layout has not been defined by the Screen then set the
layout to be "DefaultLayout". The Screen object can also
override this method to provide intelligent determination of
the Layout to execute. You can also define that logic here as
well if you want it to apply on a global scale. For example,
if you wanted to allow someone to define Layout "preferences"
where they could dynamically change the Layout for the entire
site. The information for the request is passed in with the
RunData object.
setLayout
public void setLayout(org.apache.turbine.util.RunData data, java.lang.String layout)
- Set the layout for a Screen.
prepareText
public static java.lang.String prepareText(java.lang.String s)
- Deprecated. Use InputFilterUtils.prepareText(String s)
- This function can/should be used in any screen that will output User entered text. This will help prevent users from entering html (
Overview Package Class Use Deprecated Index Home >> All >> org >> apache >> turbine >> [ modules overview ] PREV CLASS NEXT CLASS SUMMARY:
JAVADOC |
SOURCE |
DOWNLOAD | NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
- This function can/should be used in any screen that will output User entered text. This will help prevent users from entering html (
