org.apache.tapestry.wml
Class WMLEngine

java.lang.Object
  |
  +--org.apache.tapestry.engine.AbstractEngine
        |
        +--org.apache.tapestry.engine.BaseEngine
              |
              +--org.apache.tapestry.wml.WMLEngine
All Implemented Interfaces:
IEngine

public class WMLEngine
extends BaseEngine

Subclass of BaseEngine used for WML applications to change the Exception, StaleLink and StaleSession pages.

Since:
3.0
Author:
David Solis

Field Summary
 
Fields inherited from class org.apache.tapestry.engine.AbstractEngine
DEFAULT_OUTPUT_ENCODING, OUTPUT_ENCODING_PROPERTY_NAME, VISIT_CLASS_PROPERTY_NAME
 
Constructor Summary
WMLEngine()
           
 
Method Summary
protected  void activateExceptionPage(IRequestCycle cycle, ResponseOutputStream output, java.lang.Throwable cause)
          Sets the Exception page's exception property, then renders the Exception page.
protected  java.lang.String getExceptionPageName()
           
protected  java.lang.String getStaleLinkPageName()
           
protected  java.lang.String getStaleSessionPageName()
           
 
Methods inherited from class org.apache.tapestry.engine.BaseEngine
cleanupAfterRequest, createPageRecorder, getActivePageNames, getPageRecorder
 
Methods inherited from class org.apache.tapestry.engine.AbstractEngine
getClassResolver, getDataSqueezer, getDefaultOutputEncoding, getGlobal, getHasVisit, getInfrastructure, getListeners, getLocale, getMonitor, getOutputEncoding, getPropertySource, getScriptSource, getService, getSpecification, getSpecificationSource, getVisit, getVisit, handlePageRedirectException, handleRedirectException, handleStaleLinkException, handleStaleSessionException, redirect, renderResponse, reportException, service, setLocale, setupForRequest, setVisit, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WMLEngine

public WMLEngine()
Method Detail

activateExceptionPage

protected void activateExceptionPage(IRequestCycle cycle,
                                     ResponseOutputStream output,
                                     java.lang.Throwable cause)
                              throws javax.servlet.ServletException
Description copied from class: AbstractEngine
Sets the Exception page's exception property, then renders the Exception page.

If the render throws an exception, then copious output is sent to System.err and a ServletExceptionis thrown.

Overrides:
activateExceptionPage in class AbstractEngine
javax.servlet.ServletException

getExceptionPageName

protected java.lang.String getExceptionPageName()
Overrides:
getExceptionPageName in class AbstractEngine
Since:
3.0

getStaleLinkPageName

protected java.lang.String getStaleLinkPageName()
Overrides:
getStaleLinkPageName in class AbstractEngine
Since:
3.0

getStaleSessionPageName

protected java.lang.String getStaleSessionPageName()
Overrides:
getStaleSessionPageName in class AbstractEngine
Since:
3.0