org.apache.tapestry.engine
Class TagSupportService

java.lang.Object
  |
  +--org.apache.tapestry.engine.TagSupportService
All Implemented Interfaces:
IEngineService

public class TagSupportService
extends Object
implements IEngineService

A very specialized service used by JSPs to access Tapestry URLs. This is used by the Tapestry JSP tags, such as PageTag.

Since:
3.0
Version:
$Id: TagSupportService.java,v 1.7 2003/06/22 02:55:23 hlship Exp $
Author:
Howard Lewis Ship
See Also:
URLRetriever

Constructor Summary
TagSupportService()
           
 
Method Summary
 ILink getLink(IRequestCycle cycle, IComponent component, Object[] parameters)
          Not to be invoked; this service is different than the others.
 String getName()
          Returns the name of the service.
 void service(IEngineServiceView engine, IRequestCycle cycle, ResponseOutputStream output)
          Perform the service, interpreting the URL (from the HttpServletRequest) responding appropriately, and rendering a result page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagSupportService

public TagSupportService()
Method Detail

getLink

public ILink getLink(IRequestCycle cycle,
                     IComponent component,
                     Object[] parameters)
Not to be invoked; this service is different than the others.
Specified by:
getLink in interface IEngineService
Throws:
ApplicationRuntimeException - always

service

public void service(IEngineServiceView engine,
                    IRequestCycle cycle,
                    ResponseOutputStream output)
             throws ServletException,
                    IOException
Description copied from interface: IEngineService
Perform the service, interpreting the URL (from the HttpServletRequest) responding appropriately, and rendering a result page.
Specified by:
service in interface IEngineService
Following copied from interface: org.apache.tapestry.engine.IEngineService
Parameters:
engine - a view of the IEngine with additional methods needed by services
cycle - the incoming request
output - stream to which output should ultimately be directed
See Also:
IEngine#service(RequestContext)

getName

public String getName()
Description copied from interface: IEngineService
Returns the name of the service.
Specified by:
getName in interface IEngineService
Returns:
Tapestry.TAGSUPPORT_SERVICE.