org.apache.tapestry.html
Class Shell

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by 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 243935 2004-07-29 15:15:44Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
Shell()
           
 
Method Summary
abstract  IRender getDelegate()
           
abstract  String getDoctype()
           
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).
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, 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.

Specified by:
renderComponent in class AbstractComponent

getDelegate

public abstract IRender getDelegate()

getRefresh

public abstract int getRefresh()

getStylesheet

public abstract IAsset getStylesheet()

getTitle

public abstract String getTitle()

getDoctype

public abstract String getDoctype()

getDTD

public abstract String getDTD()

getStylesheets

public abstract Object getStylesheets()

getRenderContentType

public abstract boolean getRenderContentType()