| java.lang.Object org.apache.jetspeed.headerresource.impl.HeaderResourceImpl
HeaderResourceImpl | public class HeaderResourceImpl implements HeaderResource(Code) | | Default implementation for HeaderResource
author: Shinsuke Sugaya author: Steve Milek version: $Id: HeaderResourceImpl.java 188569 2005-05-13 13:35:18Z weaver $ |
Method Summary | |
public void | addHeaderInfo(String text) | public void | addHeaderInfo(String elementName, Map attributes, String text) | public void | addHeaderSectionFragment(String addToHeaderName, String text) | public void | addHeaderSectionFragment(String headerFragmentName, String addToHeaderName, String text) | protected void | addHeaderSectionFragment(String headerFragmentName, String addToHeaderName, String text, boolean alreadyCheckedFragName) | public void | addJavaScript(String path, boolean defer) | public void | addJavaScript(String path) | public void | addStyleSheet(String path) | public void | dojoAddBodyExpandStyle(boolean omitWindowScrollbars) | public void | dojoAddCoreLibraryRequire(String dojoRequire) | public void | dojoAddCoreLibraryRequires(String dojoRequires) | public void | dojoAddModuleLibraryRequire(String dojoRequire) | public void | dojoAddModuleLibraryRequires(String dojoRequires) | protected void | dojoAddRequire(String dojoRequire, String addToHeaderName) | protected void | dojoAddRequires(String dojoRequires, String addToHeaderName) | protected void | dojoDisable() | public void | dojoEnable() | protected String | dojoGenerateBodyExpandNoScrollStyle() | protected String | dojoGenerateBodyExpandStyle() | protected String | dojoGenerateInit() | protected String | dojoGeneratePreinit() | protected String | dojoGenerateWriteincludes() | protected String | dojoGetPath() | protected String | generateHeaderSection(String headerName) | protected BasePortalURL | getBaseUrlAccess() | public String | getContent() | public Map | getHeaderConfiguration() | public Map | getHeaderDynamicConfiguration() | protected Map | getHeaderResourceRegistry() | protected Map | getHeaderSectionNames(boolean create) | protected List | getHeaderSectionOrderList(boolean create) | public String | getHeaderSectionRequiredFlag(String headerName) | public String | getHeaderSectionType(String headerName) | protected Map | getHeaderSectionTypes(boolean create) | protected Map | getHeaderSections() | protected Map | getHeaderSectionsAddedFragments() | public String | getNamedContent() | public String | getNamedContent(String headerName) | public String | getNamedContentForPrefix(String headerNamePrefix) | protected void | getNamedResourceContent(String headerNameMatch, boolean headerNameMatchPrefixOnly, StringBuffer header) | protected HashMap | getNamedResourcesAlreadyOutput() | public String | getPortalBaseUrl() Portal base url ( e.g. | public String | getPortalBaseUrl(boolean encode) Portal base url ( e.g. | public String | getPortalResourceUrl(String relativePath) Portal base url with relativePath argument appended ( e.g. | public String | getPortalResourceUrl(String relativePath, boolean encode) Portal base url with relativePath argument appended ( e.g. | public String | getPortalUrl() Portal base servlet url ( e.g. | public String | getPortalUrl(boolean encode) Portal base servlet url ( e.g. | public String | getPortalUrl(String relativePath) Portal base servlet url with relativePath argument appended ( e.g. | public String | getPortalUrl(String relativePath, boolean encode) Portal base servlet url with relativePath argument appended ( e.g. | protected RequestContext | getRequestContext() | public String | getUnnamedContent() | protected void | getUnnamedContent(StringBuffer header) | public boolean | hasHeaderSectionFragment(String headerFragmentName) | protected boolean | hasHeaderSectionFragment(String headerFragmentName, boolean setToTrue) | public boolean | isDesktop() | public boolean | isHeaderSectionIncluded(String headerName) | protected String | jetspeedGenerateBasetag() | protected void | orderHeaderSection(String headerName) | public void | setHeaderSectionRequiredFlag(String headerName, String headerReqFlag) | public void | setHeaderSectionType(String headerName, String headerType) | protected void | setNamedResourcesAlreadyOutput(HashMap newOne) | public String | toString() |
UNNAMED_CONTENT_HEADER_NAME | final protected static String UNNAMED_CONTENT_HEADER_NAME(Code) | | |
log | final protected static Log log(Code) | | |
HeaderResourceImpl | public HeaderResourceImpl(RequestContext context)(Code) | | Default Constructor
Parameters: context - |
addHeaderSectionFragment | public void addHeaderSectionFragment(String addToHeaderName, String text)(Code) | | Add text argument to the getHeaderSections() content entry with a key that matches addToHeaderName argument
|
addHeaderSectionFragment | public void addHeaderSectionFragment(String headerFragmentName, String addToHeaderName, String text)(Code) | | If no previous call using value of headerFragmentName argument has been added to any getHeaderSections() content entry,
add text argument to the getHeaderSections() content entry with a key that matches addToHeaderName argument
|
addHeaderSectionFragment | protected void addHeaderSectionFragment(String headerFragmentName, String addToHeaderName, String text, boolean alreadyCheckedFragName)(Code) | | |
addJavaScript | public void addJavaScript(String path, boolean defer)(Code) | | |
dojoAddBodyExpandStyle | public void dojoAddBodyExpandStyle(boolean omitWindowScrollbars)(Code) | | Assure that header section name for dojo body expand style is included
|
dojoAddCoreLibraryRequire | public void dojoAddCoreLibraryRequire(String dojoRequire)(Code) | | If no previous call using value of dojoRequire argument has been added to any getHeaderSections() content entry,
add text argument to the getHeaderSections() content entry for dojo core require statements
|
dojoAddCoreLibraryRequires | public void dojoAddCoreLibraryRequires(String dojoRequires)(Code) | | Split dojoRequires argument using ';' delimiter and for each resulting dojoRequire value, if no previous call
using dojoRequire value has been added to any getHeaderSections() content entry,
add text argument to the getHeaderSections() content entry for dojo core require statements
|
dojoAddModuleLibraryRequire | public void dojoAddModuleLibraryRequire(String dojoRequire)(Code) | | If no previous call using value of dojoRequire argument has been added to any getHeaderSections() content entry,
add text argument to the getHeaderSections() content entry for dojo library module require statements
|
dojoAddModuleLibraryRequires | public void dojoAddModuleLibraryRequires(String dojoRequires)(Code) | | Split dojoRequires argument using ';' delimiter and for each resulting dojoRequire value, if no previous call
using dojoRequire value has been added to any getHeaderSections() content entry,
add text argument to the getHeaderSections() content entry for dojo library module require statements
|
dojoAddRequire | protected void dojoAddRequire(String dojoRequire, String addToHeaderName)(Code) | | |
dojoAddRequires | protected void dojoAddRequires(String dojoRequires, String addToHeaderName)(Code) | | |
dojoDisable | protected void dojoDisable()(Code) | | |
dojoEnable | public void dojoEnable()(Code) | | Enable dojo by setting appropriate modifiable header configuration setting
|
dojoGenerateBodyExpandNoScrollStyle | protected String dojoGenerateBodyExpandNoScrollStyle()(Code) | | |
dojoGenerateBodyExpandStyle | protected String dojoGenerateBodyExpandStyle()(Code) | | |
dojoGeneratePreinit | protected String dojoGeneratePreinit()(Code) | | |
dojoGenerateWriteincludes | protected String dojoGenerateWriteincludes()(Code) | | |
getContent | public String getContent()(Code) | | Output all content (that has not already been output)
content string for inclusion in html <head> |
getHeaderConfiguration | public Map getHeaderConfiguration()(Code) | | Access complete header configuration settings
unmodifiable Map containing complete header configuration settings |
getHeaderDynamicConfiguration | public Map getHeaderDynamicConfiguration()(Code) | | Access modifiable header configuration settings
Map containing modifiable header configuration settings |
getHeaderResourceRegistry | protected Map getHeaderResourceRegistry()(Code) | | |
getHeaderSectionNames | protected Map getHeaderSectionNames(boolean create)(Code) | | |
getHeaderSectionOrderList | protected List getHeaderSectionOrderList(boolean create)(Code) | | |
getHeaderSectionRequiredFlag | public String getHeaderSectionRequiredFlag(String headerName)(Code) | | Get the requiredflag of the getHeaderSections() content entry with a key that matches headerName argument
requiredflag for header section |
getHeaderSectionType | public String getHeaderSectionType(String headerName)(Code) | | Get the type of the getHeaderSections() content entry with a key that matches headerName argument
type of header section |
getHeaderSectionTypes | protected Map getHeaderSectionTypes(boolean create)(Code) | | |
getHeaderSections | protected Map getHeaderSections()(Code) | | |
getHeaderSectionsAddedFragments | protected Map getHeaderSectionsAddedFragments()(Code) | | |
getNamedContent | public String getNamedContent()(Code) | | Output all getHeaderSections() content (that has not already been output)
content string for inclusion in html <head> |
getNamedContent | public String getNamedContent(String headerName)(Code) | | Output the one getHeaderSections() content entry with a key that matches headerName (if it has not already been output)
content string for inclusion in html <head> |
getNamedContentForPrefix | public String getNamedContentForPrefix(String headerNamePrefix)(Code) | | Output getHeaderSections() content entries with key prefixes that match headerNamePrefix (if it has not already been output)
content string for inclusion in html <head> |
getNamedResourceContent | protected void getNamedResourceContent(String headerNameMatch, boolean headerNameMatchPrefixOnly, StringBuffer header)(Code) | | |
getNamedResourcesAlreadyOutput | protected HashMap getNamedResourcesAlreadyOutput()(Code) | | |
getPortalBaseUrl | public String getPortalBaseUrl()(Code) | | Portal base url ( e.g. http://localhost:8080/jetspeed )
portal base url |
getPortalBaseUrl | public String getPortalBaseUrl(boolean encode)(Code) | | Portal base url ( e.g. http://localhost:8080/jetspeed )
portal base url |
getPortalResourceUrl | public String getPortalResourceUrl(String relativePath)(Code) | | Portal base url with relativePath argument appended ( e.g. http://localhost:8080/jetspeed/javascript/dojo/ )
portal base url with relativePath argument appended |
getPortalResourceUrl | public String getPortalResourceUrl(String relativePath, boolean encode)(Code) | | Portal base url with relativePath argument appended ( e.g. http://localhost:8080/jetspeed/javascript/dojo/ )
portal base url with relativePath argument appended |
getPortalUrl | public String getPortalUrl()(Code) | | Portal base servlet url ( e.g. http://localhost:8080/jetspeed/desktop/ )
portal base servlet url |
getPortalUrl | public String getPortalUrl(boolean encode)(Code) | | Portal base servlet url ( e.g. http://localhost:8080/jetspeed/desktop/ )
portal base servlet url |
getPortalUrl | public String getPortalUrl(String relativePath)(Code) | | Portal base servlet url with relativePath argument appended ( e.g. http://localhost:8080/jetspeed/desktop/default-page.psml )
portal base servlet url with relativePath argument appended |
getPortalUrl | public String getPortalUrl(String relativePath, boolean encode)(Code) | | Portal base servlet url with relativePath argument appended ( e.g. http://localhost:8080/jetspeed/desktop/default-page.psml )
portal base servlet url with relativePath argument appended |
getUnnamedContent | public String getUnnamedContent()(Code) | | Output all unnamed (getHeaderInfoSet()) content (that has not already been output)
content string for inclusion in html <head> |
hasHeaderSectionFragment | public boolean hasHeaderSectionFragment(String headerFragmentName)(Code) | | Indicate whether value of headerFragmentName argument has been used to add to any getHeaderSections() content entry
true if headerFragmentName argument has been used to add to any getHeaderSections() content entry |
hasHeaderSectionFragment | protected boolean hasHeaderSectionFragment(String headerFragmentName, boolean setToTrue)(Code) | | |
isDesktop | public boolean isDesktop()(Code) | | Is request for /desktop rather than /portal
true if request is for /desktop, false if request is for /portal |
isHeaderSectionIncluded | public boolean isHeaderSectionIncluded(String headerName)(Code) | | Indicate whether value of headerName is an included header section
true if headerName argument is an included header section |
jetspeedGenerateBasetag | protected String jetspeedGenerateBasetag()(Code) | | |
orderHeaderSection | protected void orderHeaderSection(String headerName)(Code) | | |
setHeaderSectionRequiredFlag | public void setHeaderSectionRequiredFlag(String headerName, String headerReqFlag)(Code) | | Set the requiredflag of the getHeaderSections() content entry with a key that matches headerName argument
to the value of the headerReqFlag argument
|
setHeaderSectionType | public void setHeaderSectionType(String headerName, String headerType)(Code) | | Set the type of the getHeaderSections() content entry with a key that matches headerName argument
to the value of the headerType argument
|
setNamedResourcesAlreadyOutput | protected void setNamedResourcesAlreadyOutput(HashMap newOne)(Code) | | |
toString | public String toString()(Code) | | Output all content (that has not already been output)
content string for inclusion in html <head> |
|
|