org.apache.jetspeed.decoration
Class LayoutDecorationImpl

java.lang.Object
  extended by org.apache.jetspeed.decoration.BaseDecoration
      extended by org.apache.jetspeed.decoration.LayoutDecorationImpl
All Implemented Interfaces:
java.io.Serializable, Decoration, LayoutDecoration

public class LayoutDecorationImpl
extends BaseDecoration
implements LayoutDecoration

Default implementation of org.apache.jetspeed.decoration.LayoutDecoration

Author:
Scott T. Weaver
See Also:
LayoutDecoration, Serialized Form

Field Summary
 
Fields inherited from class org.apache.jetspeed.decoration.BaseDecoration
config, NO_SUCH_RESOURCE
 
Fields inherited from interface org.apache.jetspeed.decoration.Decoration
BASE_CSS_CLASS_PROP, CONFIG_DESKTOP_FILE_NAME, CONFIG_FILE_NAME, DEFAULT_COMMON_STYLE_SHEET, DEFAULT_DESKTOP_STYLE_SHEET, DEFAULT_PORTAL_STYLE_SHEET, DESKTOP_SUPPORTED_PROPERTY, RESOURCE_BUNDLE_PROP, RESOURCES_DIRECTORY_NAME
 
Constructor Summary
LayoutDecorationImpl(java.util.Properties config, ResourceValidator validator, Path basePath, Path baseClientPath, PathResolverCache cache)
           
 
Method Summary
 java.lang.String getFooter()
          The footer" template used to decorate the bottom of a page.
 java.lang.String getHeader()
          The header or "banner" template used to decorate the top of a page.
 void setDecorationFactory(DecorationFactory decorationFactory)
           
 
Methods inherited from class org.apache.jetspeed.decoration.BaseDecoration
getActions, getBaseCSSClass, getBasePath, getBasePath, getCurrentModeAction, getCurrentStateAction, getName, getProperty, getResource, getResource, getResourceBundle, getResourceBundleName, getStyleSheet, getStyleSheetDesktop, getStyleSheetPortal, init, setActions, setCurrentModeAction, setCurrentStateAction, supportsDesktop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.decoration.Decoration
getActions, getBaseCSSClass, getBasePath, getBasePath, getCurrentModeAction, getCurrentStateAction, getName, getProperty, getResource, getResourceBundle, getResourceBundleName, getStyleSheet, getStyleSheetDesktop, getStyleSheetPortal, setActions, setCurrentModeAction, setCurrentStateAction, supportsDesktop
 

Constructor Detail

LayoutDecorationImpl

public LayoutDecorationImpl(java.util.Properties config,
                            ResourceValidator validator,
                            Path basePath,
                            Path baseClientPath,
                            PathResolverCache cache)
Method Detail

setDecorationFactory

public void setDecorationFactory(DecorationFactory decorationFactory)

getHeader

public java.lang.String getHeader()
Description copied from interface: LayoutDecoration
The header or "banner" template used to decorate the top of a page.

Specified by:
getHeader in interface LayoutDecoration
Returns:
String fully resolved path to the header template.

getFooter

public java.lang.String getFooter()
Description copied from interface: LayoutDecoration
The footer" template used to decorate the bottom of a page.

Specified by:
getFooter in interface LayoutDecoration
Returns:
String fully resolved path to the footer template.


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.