org.apache.tapestry.html
Class Shell

java.lang.Object
  |
  +--org.apache.tapestry.spec.BaseLocatable
        |
        +--org.apache.tapestry.AbstractComponent
              |
              +--org.apache.tapestry.html.Shell
All Implemented Interfaces:
IComponent, ILocatable, ILocationHolder, IRender

public abstract class Shell
extends AbstractComponent

Component for creating a standard 'shell' for a page, which comprises the <html> and <head> portions of the page. [Component Reference]

Specifically does not provide a <body> tag, that is usually accomplished using a Body component.

Version:
$Id: Shell.java,v 1.6 2003/07/01 20:49:34 hlship Exp $
Author:
Howard Lewis Ship

Constructor Summary
Shell()
           
 
Method Summary
protected  void finishLoad()
          Sets the DTD parameter property to its default value.
abstract  IRender getDelegate()
           
abstract  String getDTD()
           
abstract  int getRefresh()
           
abstract  boolean getRenderContentType()
           
abstract  IAsset getStylesheet()
           
abstract  Object getStylesheets()
           
abstract  String getTitle()
           
protected  void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Invoked by AbstractComponent.render(IMarkupWriter, IRequestCycle) to actually render the component (with any parameter values already set).
abstract  void setDTD(String DTD)
           
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, format, format, format, format, formatString, formatString, formatString, formatString, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString
 
Methods inherited from class org.apache.tapestry.spec.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Constructor Detail

Shell

public Shell()
Method Detail

renderComponent

protected void renderComponent(IMarkupWriter writer,
                               IRequestCycle cycle)
Description copied from class: AbstractComponent
Invoked by AbstractComponent.render(IMarkupWriter, IRequestCycle) to actually render the component (with any parameter values already set). This is the method that subclasses must implement.
Overrides:
renderComponent in class AbstractComponent

getDelegate

public abstract IRender getDelegate()

getRefresh

public abstract int getRefresh()

getStylesheet

public abstract IAsset getStylesheet()

getTitle

public abstract String getTitle()

getDTD

public abstract String getDTD()

setDTD

public abstract void setDTD(String DTD)

getStylesheets

public abstract Object getStylesheets()

getRenderContentType

public abstract boolean getRenderContentType()

finishLoad

protected void finishLoad()
Sets the DTD parameter property to its default value.
Overrides:
finishLoad in class AbstractComponent
Since:
3.0