org.apache.jetspeed.headerresource.impl
Class HeaderResourceImpl
java.lang.Object
org.apache.jetspeed.headerresource.impl.HeaderResourceImpl
- All Implemented Interfaces:
- org.apache.jetspeed.headerresource.HeaderResource
- public class HeaderResourceImpl
- extends Object
- implements org.apache.jetspeed.headerresource.HeaderResource
Default implementation for HeaderResource
- Version:
- $Id: PortalReservedParameters.java 188569 2005-05-13 13:35:18Z weaver $
- Author:
- Shinsuke Sugaya
Field Summary |
private org.apache.jetspeed.request.RequestContext |
requestContext
|
Constructor Summary |
HeaderResourceImpl(org.apache.jetspeed.request.RequestContext context)
Default Constructor |
requestContext
private org.apache.jetspeed.request.RequestContext requestContext
HeaderResourceImpl
public HeaderResourceImpl(org.apache.jetspeed.request.RequestContext context)
- Default Constructor
- Parameters:
context
-
getHeaderInfoSet
private Set getHeaderInfoSet()
- Gets HeaderInfo set from the request.
- Returns:
toString
public String toString()
- Specified by:
toString
in interface org.apache.jetspeed.headerresource.HeaderResource
addHeaderInfo
public void addHeaderInfo(String elementName,
Map attributes,
String text)
- Specified by:
addHeaderInfo
in interface org.apache.jetspeed.headerresource.HeaderResource
containsHeaderInfo
private boolean containsHeaderInfo(HeaderResourceImpl.HeaderInfo headerInfo)
- Returns true if this set contains the specified HeaderInfo.
- Parameters:
headerInfo
-
- Returns:
addJavaScript
public void addJavaScript(String path,
boolean defer)
- Specified by:
addJavaScript
in interface org.apache.jetspeed.headerresource.HeaderResource
addJavaScript
public void addJavaScript(String path)
- Specified by:
addJavaScript
in interface org.apache.jetspeed.headerresource.HeaderResource
addStyleSheet
public void addStyleSheet(String path)
- Specified by:
addStyleSheet
in interface org.apache.jetspeed.headerresource.HeaderResource
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.