org.apache.jetspeed.headerresource
Interface HeaderResource


public interface HeaderResource

HeaderResource has tags information to put them into <head> tag.

Version:
$Id: HeaderResource.java 188569 2005-05-13 13:35:18Z weaver $
Author:
Shinsuke Sugaya, Steve Milek

Field Summary
static java.lang.String DESKTOP_JSON_WINDOW_ACTION_BUTTON_MAX
           
static java.lang.String DESKTOP_JSON_WINDOW_ACTION_BUTTON_ORDER
           
static java.lang.String DESKTOP_JSON_WINDOW_ACTION_BUTTON_TOOLTIP
           
static java.lang.String DESKTOP_JSON_WINDOW_ACTION_MENU_ORDER
           
static java.lang.String DESKTOP_JSON_WINDOW_ACTION_NOIMAGE
           
static java.lang.String DESKTOP_JSON_WINDOW_ICON_ENABLED
           
static java.lang.String DESKTOP_JSON_WINDOW_ICON_PATH
           
static java.lang.String DESKTOP_JSON_WINDOW_RESIZEBAR_ENABLED
           
static java.lang.String DESKTOP_JSON_WINDOW_TITLEBAR_ENABLED
           
static java.lang.String HEADER_CONFIG_DESKTOP
           
static java.lang.String HEADER_CONFIG_DESKTOP_LAYOUT_DECORATION_DEFAULT
           
static java.lang.String HEADER_CONFIG_DESKTOP_PAGE_ACTION_BUTTON_TOOLTIP
           
static java.lang.String HEADER_CONFIG_DESKTOP_PAGE_AJAXNAVIGATION
           
static java.lang.String HEADER_CONFIG_DESKTOP_PORTLET_DECORATION_DEFAULT
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_MAX
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_ORDER
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_TOOLTIP
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_MENU_ORDER
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_NOIMAGE
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_HEIGHT
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_HEIGHT_EXPAND
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ICON_ENABLED
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ICON_PATH
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_RESIZEBAR_ENABLED
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_TILING
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_TITLEBAR_ENABLED
           
static java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_WIDTH
           
static java.lang.String HEADER_CONFIG_DOJO
           
static java.lang.String HEADER_CONFIG_DOJO_ENABLE
           
static java.lang.String HEADER_CONFIG_DOJO_MODULES_NAMESPACE
           
static java.lang.String HEADER_CONFIG_DOJO_MODULES_PATH
           
static java.lang.String HEADER_CONFIG_DOJO_PARAM_DEBUGALLCOSTS
           
static java.lang.String HEADER_CONFIG_DOJO_PARAM_ISDEBUG
           
static java.lang.String HEADER_CONFIG_DOJO_PARAM_PREVENT_BACKBUTTON_FIX
           
static java.lang.String HEADER_CONFIG_DOJO_PARAMS
           
static java.lang.String HEADER_CONFIG_DOJO_PATH
           
static java.lang.String HEADER_CONFIG_DOJO_REQUIRES_CORE
           
static java.lang.String HEADER_CONFIG_DOJO_REQUIRES_MODULES
           
static java.lang.String HEADER_CONFIG_ORDER
           
static java.lang.String HEADER_CONFIG_REQUIREDFLAG
           
static java.lang.String HEADER_CONFIG_TYPES
           
static java.lang.String HEADER_DEBUG_REQUIRES
           
static java.lang.String HEADER_INTERNAL_CONFIG_DESKTOP_WINDOW_ACTION
           
static java.lang.String HEADER_INTERNAL_DOJO_CONFIG_JETSPEED_VAR_NAME
           
static java.lang.String HEADER_INTERNAL_DOJO_CONFIG_JETSPEED_VAR_NAME_SCOPE
           
static java.lang.String HEADER_INTERNAL_INCLUDED_NAMES
           
static java.lang.String HEADER_INTERNAL_JETSPEED_VAR_NAME
           
static java.lang.String HEADER_SECTION_BASE_TAG
           
static java.lang.String HEADER_SECTION_DESKTOP_INIT
           
static java.lang.String HEADER_SECTION_DESKTOP_STYLE_LAYOUT
           
static java.lang.String HEADER_SECTION_DOJO_CONFIG
           
static java.lang.String HEADER_SECTION_DOJO_INIT
           
static java.lang.String HEADER_SECTION_DOJO_MODULES_NAMESPACE
           
static java.lang.String HEADER_SECTION_DOJO_MODULES_PATH
           
static java.lang.String HEADER_SECTION_DOJO_PARAMETERS
           
static java.lang.String HEADER_SECTION_DOJO_PREINIT
           
static java.lang.String HEADER_SECTION_DOJO_REQUIRES_CORE
           
static java.lang.String HEADER_SECTION_DOJO_REQUIRES_MODULES
           
static java.lang.String HEADER_SECTION_DOJO_STYLE_BODYEXPAND
           
static java.lang.String HEADER_SECTION_DOJO_STYLE_BODYEXPAND_NOSCROLL
           
static java.lang.String HEADER_SECTION_DOJO_WRITEINCLUDES
           
static java.lang.String HEADER_SECTION_NAME_PREFIX_DOJO
           
static java.lang.String HEADER_TYPE_BASE_TAG
           
static int HEADER_TYPE_ID_BASE_TAG
           
static int HEADER_TYPE_ID_LINK_TAG
           
static int HEADER_TYPE_ID_SCRIPT_BLOCK
           
static int HEADER_TYPE_ID_SCRIPT_BLOCK_END
           
static int HEADER_TYPE_ID_SCRIPT_BLOCK_START
           
static int HEADER_TYPE_ID_SCRIPT_TAG
           
static int HEADER_TYPE_ID_STYLE_BLOCK
           
static java.lang.String HEADER_TYPE_LINK_TAG
           
static java.lang.String HEADER_TYPE_SCRIPT_BLOCK
           
static java.lang.String HEADER_TYPE_SCRIPT_BLOCK_END
           
static java.lang.String HEADER_TYPE_SCRIPT_BLOCK_START
           
static java.lang.String HEADER_TYPE_SCRIPT_TAG
           
static java.lang.String HEADER_TYPE_STYLE_BLOCK
           
 
Method Summary
 void addHeaderInfo(java.lang.String text)
          Add text as-is to this instance.
 void addHeaderInfo(java.lang.String elementName, java.util.Map attributes, java.lang.String text)
          Add tag information to this instance.
 void addHeaderSectionFragment(java.lang.String addToHeaderName, java.lang.String text)
          Add text argument to the getHeaderSections() content entry with a key that matches addToHeaderName argument
 void addHeaderSectionFragment(java.lang.String headerFragmentName, java.lang.String addToHeaderName, java.lang.String text)
          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
 void addJavaScript(java.lang.String path)
          Convenient method to add <script> tag.
 void addJavaScript(java.lang.String path, boolean defer)
          Convenient method to add <script> tag with defer option.
 void addStyleSheet(java.lang.String path)
          Convenient method to add <link> tag.
 void dojoAddBodyExpandStyle(boolean omitWindowScrollbars)
          Assure that header section name for dojo body expand style is included
 void dojoAddCoreLibraryRequire(java.lang.String dojoRequire)
          If no previous call using value of dojoRequire argument has been added to any getHeaderSections() content entry, add text argument to getHeaderSections() content entry for dojo core require statements
 void dojoAddCoreLibraryRequires(java.lang.String dojoRequires)
          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 getHeaderSections() content entry for dojo core require statements
 void dojoAddModuleLibraryRequire(java.lang.String dojoRequire)
          If no previous call using value of dojoRequire argument has been added to any getHeaderSections() content entry, add text argument to getHeaderSections() content entry for dojo library module require statements
 void dojoAddModuleLibraryRequires(java.lang.String dojoRequires)
          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 getHeaderSections() content entry for dojo library module require statements
 void dojoEnable()
          Enable dojo by setting appropriate modifiable header configuration setting
 java.lang.String getContent()
          Output all content (that has not already been output)
 java.util.Map getHeaderConfiguration()
          Access complete header configuration settings
 java.util.Map getHeaderDynamicConfiguration()
          Access modifiable header configuration settings
 java.lang.String getHeaderSectionRequiredFlag(java.lang.String headerName)
          Get the requiredflag of the getHeaderSections() content entry with a key that matches headerName argument
 java.lang.String getHeaderSectionType(java.lang.String headerName)
          Get the type of the getHeaderSections() content entry with a key that matches headerName argument
 java.lang.String getNamedContent()
          Output all getHeaderSections() content (that has not already been output)
 java.lang.String getNamedContent(java.lang.String headerName)
          Output the one getHeaderSections() content entry with a key that matches headerName (if it has not already been output)
 java.lang.String getNamedContentForPrefix(java.lang.String headerNamePrefix)
          Output getHeaderSections() content entries with key prefixes that match headerNamePrefix (if it has not already been output)
 java.lang.String getPortalBaseUrl()
          Portal base url ( e.g.
 java.lang.String getPortalBaseUrl(boolean encode)
          Portal base url ( e.g.
 java.lang.String getPortalResourceUrl(java.lang.String relativePath)
          Portal base url with relativePath argument appended ( e.g.
 java.lang.String getPortalResourceUrl(java.lang.String relativePath, boolean encode)
          Portal base url with relativePath argument appended ( e.g.
 java.lang.String getPortalUrl()
          Portal base servlet url ( e.g.
 java.lang.String getPortalUrl(boolean encode)
          Portal base servlet url ( e.g.
 java.lang.String getPortalUrl(java.lang.String relativePath)
          Portal base servlet url with relativePath argument appended ( e.g.
 java.lang.String getPortalUrl(java.lang.String relativePath, boolean encode)
          Portal base servlet url with relativePath argument appended ( e.g.
 java.lang.String getUnnamedContent()
          Output all unnamed content (that has not already been output)
 boolean hasHeaderSectionFragment(java.lang.String headerFragmentName)
          Indicate whether value of headerFragmentName argument has been used to add to any getHeaderSections() content entry
 boolean isDesktop()
          Is request for /desktop rather than /portal
 boolean isHeaderSectionIncluded(java.lang.String headerName)
          Indicate whether value of headerName is an included header section
 void setHeaderSectionRequiredFlag(java.lang.String headerName, java.lang.String headerReqFlag)
          Set the requiredflag of the getHeaderSections() content entry with a key that matches headerName argument to the value of the headerReqFlag argument
 void setHeaderSectionType(java.lang.String headerName, java.lang.String headerType)
          Set the type of the getHeaderSections() content entry with a key that matches headerName argument to the value of the headerType argument
 java.lang.String toString()
          Output all content (that has not already been output)
 

Field Detail

HEADER_TYPE_SCRIPT_BLOCK_START

static final java.lang.String HEADER_TYPE_SCRIPT_BLOCK_START
See Also:
Constant Field Values

HEADER_TYPE_ID_SCRIPT_BLOCK_START

static final int HEADER_TYPE_ID_SCRIPT_BLOCK_START
See Also:
Constant Field Values

HEADER_TYPE_SCRIPT_BLOCK

static final java.lang.String HEADER_TYPE_SCRIPT_BLOCK
See Also:
Constant Field Values

HEADER_TYPE_ID_SCRIPT_BLOCK

static final int HEADER_TYPE_ID_SCRIPT_BLOCK
See Also:
Constant Field Values

HEADER_TYPE_SCRIPT_BLOCK_END

static final java.lang.String HEADER_TYPE_SCRIPT_BLOCK_END
See Also:
Constant Field Values

HEADER_TYPE_ID_SCRIPT_BLOCK_END

static final int HEADER_TYPE_ID_SCRIPT_BLOCK_END
See Also:
Constant Field Values

HEADER_TYPE_SCRIPT_TAG

static final java.lang.String HEADER_TYPE_SCRIPT_TAG
See Also:
Constant Field Values

HEADER_TYPE_ID_SCRIPT_TAG

static final int HEADER_TYPE_ID_SCRIPT_TAG
See Also:
Constant Field Values

HEADER_TYPE_STYLE_BLOCK

static final java.lang.String HEADER_TYPE_STYLE_BLOCK
See Also:
Constant Field Values

HEADER_TYPE_ID_STYLE_BLOCK

static final int HEADER_TYPE_ID_STYLE_BLOCK
See Also:
Constant Field Values

HEADER_TYPE_LINK_TAG

static final java.lang.String HEADER_TYPE_LINK_TAG
See Also:
Constant Field Values

HEADER_TYPE_ID_LINK_TAG

static final int HEADER_TYPE_ID_LINK_TAG
See Also:
Constant Field Values

HEADER_TYPE_BASE_TAG

static final java.lang.String HEADER_TYPE_BASE_TAG
See Also:
Constant Field Values

HEADER_TYPE_ID_BASE_TAG

static final int HEADER_TYPE_ID_BASE_TAG
See Also:
Constant Field Values

HEADER_CONFIG_ORDER

static final java.lang.String HEADER_CONFIG_ORDER
See Also:
Constant Field Values

HEADER_CONFIG_TYPES

static final java.lang.String HEADER_CONFIG_TYPES
See Also:
Constant Field Values

HEADER_CONFIG_REQUIREDFLAG

static final java.lang.String HEADER_CONFIG_REQUIREDFLAG
See Also:
Constant Field Values

HEADER_CONFIG_DOJO

static final java.lang.String HEADER_CONFIG_DOJO
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP

static final java.lang.String HEADER_CONFIG_DESKTOP
See Also:
Constant Field Values

HEADER_INTERNAL_INCLUDED_NAMES

static final java.lang.String HEADER_INTERNAL_INCLUDED_NAMES
See Also:
Constant Field Values

HEADER_SECTION_BASE_TAG

static final java.lang.String HEADER_SECTION_BASE_TAG
See Also:
Constant Field Values

HEADER_SECTION_NAME_PREFIX_DOJO

static final java.lang.String HEADER_SECTION_NAME_PREFIX_DOJO
See Also:
Constant Field Values

HEADER_SECTION_DOJO_PARAMETERS

static final java.lang.String HEADER_SECTION_DOJO_PARAMETERS
See Also:
Constant Field Values

HEADER_SECTION_DOJO_PREINIT

static final java.lang.String HEADER_SECTION_DOJO_PREINIT
See Also:
Constant Field Values

HEADER_SECTION_DOJO_CONFIG

static final java.lang.String HEADER_SECTION_DOJO_CONFIG
See Also:
Constant Field Values

HEADER_SECTION_DOJO_INIT

static final java.lang.String HEADER_SECTION_DOJO_INIT
See Also:
Constant Field Values

HEADER_SECTION_DOJO_REQUIRES_CORE

static final java.lang.String HEADER_SECTION_DOJO_REQUIRES_CORE
See Also:
Constant Field Values

HEADER_SECTION_DOJO_MODULES_PATH

static final java.lang.String HEADER_SECTION_DOJO_MODULES_PATH
See Also:
Constant Field Values

HEADER_SECTION_DOJO_REQUIRES_MODULES

static final java.lang.String HEADER_SECTION_DOJO_REQUIRES_MODULES
See Also:
Constant Field Values

HEADER_SECTION_DOJO_WRITEINCLUDES

static final java.lang.String HEADER_SECTION_DOJO_WRITEINCLUDES
See Also:
Constant Field Values

HEADER_SECTION_DOJO_MODULES_NAMESPACE

static final java.lang.String HEADER_SECTION_DOJO_MODULES_NAMESPACE
See Also:
Constant Field Values

HEADER_SECTION_DOJO_STYLE_BODYEXPAND

static final java.lang.String HEADER_SECTION_DOJO_STYLE_BODYEXPAND
See Also:
Constant Field Values

HEADER_SECTION_DOJO_STYLE_BODYEXPAND_NOSCROLL

static final java.lang.String HEADER_SECTION_DOJO_STYLE_BODYEXPAND_NOSCROLL
See Also:
Constant Field Values

HEADER_SECTION_DESKTOP_STYLE_LAYOUT

static final java.lang.String HEADER_SECTION_DESKTOP_STYLE_LAYOUT
See Also:
Constant Field Values

HEADER_SECTION_DESKTOP_INIT

static final java.lang.String HEADER_SECTION_DESKTOP_INIT
See Also:
Constant Field Values

HEADER_INTERNAL_JETSPEED_VAR_NAME

static final java.lang.String HEADER_INTERNAL_JETSPEED_VAR_NAME
See Also:
Constant Field Values

HEADER_INTERNAL_DOJO_CONFIG_JETSPEED_VAR_NAME

static final java.lang.String HEADER_INTERNAL_DOJO_CONFIG_JETSPEED_VAR_NAME
See Also:
Constant Field Values

HEADER_INTERNAL_DOJO_CONFIG_JETSPEED_VAR_NAME_SCOPE

static final java.lang.String HEADER_INTERNAL_DOJO_CONFIG_JETSPEED_VAR_NAME_SCOPE
See Also:
Constant Field Values

HEADER_CONFIG_DOJO_ENABLE

static final java.lang.String HEADER_CONFIG_DOJO_ENABLE
See Also:
Constant Field Values

HEADER_CONFIG_DOJO_PATH

static final java.lang.String HEADER_CONFIG_DOJO_PATH
See Also:
Constant Field Values

HEADER_CONFIG_DOJO_PARAM_ISDEBUG

static final java.lang.String HEADER_CONFIG_DOJO_PARAM_ISDEBUG
See Also:
Constant Field Values

HEADER_CONFIG_DOJO_PARAM_DEBUGALLCOSTS

static final java.lang.String HEADER_CONFIG_DOJO_PARAM_DEBUGALLCOSTS
See Also:
Constant Field Values

HEADER_CONFIG_DOJO_PARAM_PREVENT_BACKBUTTON_FIX

static final java.lang.String HEADER_CONFIG_DOJO_PARAM_PREVENT_BACKBUTTON_FIX
See Also:
Constant Field Values

HEADER_CONFIG_DOJO_PARAMS

static final java.lang.String HEADER_CONFIG_DOJO_PARAMS
See Also:
Constant Field Values

HEADER_CONFIG_DOJO_REQUIRES_CORE

static final java.lang.String HEADER_CONFIG_DOJO_REQUIRES_CORE
See Also:
Constant Field Values

HEADER_CONFIG_DOJO_MODULES_PATH

static final java.lang.String HEADER_CONFIG_DOJO_MODULES_PATH
See Also:
Constant Field Values

HEADER_CONFIG_DOJO_MODULES_NAMESPACE

static final java.lang.String HEADER_CONFIG_DOJO_MODULES_NAMESPACE
See Also:
Constant Field Values

HEADER_CONFIG_DOJO_REQUIRES_MODULES

static final java.lang.String HEADER_CONFIG_DOJO_REQUIRES_MODULES
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_LAYOUT_DECORATION_DEFAULT

static final java.lang.String HEADER_CONFIG_DESKTOP_LAYOUT_DECORATION_DEFAULT
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_PORTLET_DECORATION_DEFAULT

static final java.lang.String HEADER_CONFIG_DESKTOP_PORTLET_DECORATION_DEFAULT
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_PAGE_AJAXNAVIGATION

static final java.lang.String HEADER_CONFIG_DESKTOP_PAGE_AJAXNAVIGATION
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_PAGE_ACTION_BUTTON_TOOLTIP

static final java.lang.String HEADER_CONFIG_DESKTOP_PAGE_ACTION_BUTTON_TOOLTIP
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_TILING

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_TILING
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_HEIGHT_EXPAND

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_HEIGHT_EXPAND
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_HEIGHT

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_HEIGHT
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_WIDTH

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_WIDTH
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_ORDER

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_ORDER
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_ACTION_NOIMAGE

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_NOIMAGE
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_ACTION_MENU_ORDER

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_MENU_ORDER
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_MAX

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_MAX
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_TOOLTIP

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_TOOLTIP
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_ICON_ENABLED

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ICON_ENABLED
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_ICON_PATH

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ICON_PATH
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_TITLEBAR_ENABLED

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_TITLEBAR_ENABLED
See Also:
Constant Field Values

HEADER_CONFIG_DESKTOP_WINDOW_RESIZEBAR_ENABLED

static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_RESIZEBAR_ENABLED
See Also:
Constant Field Values

DESKTOP_JSON_WINDOW_ACTION_BUTTON_ORDER

static final java.lang.String DESKTOP_JSON_WINDOW_ACTION_BUTTON_ORDER
See Also:
Constant Field Values

DESKTOP_JSON_WINDOW_ACTION_NOIMAGE

static final java.lang.String DESKTOP_JSON_WINDOW_ACTION_NOIMAGE
See Also:
Constant Field Values

DESKTOP_JSON_WINDOW_ACTION_MENU_ORDER

static final java.lang.String DESKTOP_JSON_WINDOW_ACTION_MENU_ORDER
See Also:
Constant Field Values

DESKTOP_JSON_WINDOW_ACTION_BUTTON_MAX

static final java.lang.String DESKTOP_JSON_WINDOW_ACTION_BUTTON_MAX
See Also:
Constant Field Values

DESKTOP_JSON_WINDOW_ACTION_BUTTON_TOOLTIP

static final java.lang.String DESKTOP_JSON_WINDOW_ACTION_BUTTON_TOOLTIP
See Also:
Constant Field Values

DESKTOP_JSON_WINDOW_ICON_ENABLED

static final java.lang.String DESKTOP_JSON_WINDOW_ICON_ENABLED
See Also:
Constant Field Values

DESKTOP_JSON_WINDOW_ICON_PATH

static final java.lang.String DESKTOP_JSON_WINDOW_ICON_PATH
See Also:
Constant Field Values

DESKTOP_JSON_WINDOW_TITLEBAR_ENABLED

static final java.lang.String DESKTOP_JSON_WINDOW_TITLEBAR_ENABLED
See Also:
Constant Field Values

DESKTOP_JSON_WINDOW_RESIZEBAR_ENABLED

static final java.lang.String DESKTOP_JSON_WINDOW_RESIZEBAR_ENABLED
See Also:
Constant Field Values

HEADER_INTERNAL_CONFIG_DESKTOP_WINDOW_ACTION

static final java.lang.String HEADER_INTERNAL_CONFIG_DESKTOP_WINDOW_ACTION
See Also:
Constant Field Values

HEADER_DEBUG_REQUIRES

static final java.lang.String HEADER_DEBUG_REQUIRES
See Also:
Constant Field Values
Method Detail

toString

java.lang.String toString()
Output all content (that has not already been output)

Overrides:
toString in class java.lang.Object
Returns:
content string for inclusion in html <head>

getContent

java.lang.String getContent()
Output all content (that has not already been output)

Returns:
content string for inclusion in html <head>

getUnnamedContent

java.lang.String getUnnamedContent()
Output all unnamed content (that has not already been output)

Returns:
content string for inclusion in html <head>

getNamedContent

java.lang.String getNamedContent()
Output all getHeaderSections() content (that has not already been output)

Returns:
content string for inclusion in html <head>

getNamedContent

java.lang.String getNamedContent(java.lang.String headerName)
Output the one getHeaderSections() content entry with a key that matches headerName (if it has not already been output)

Returns:
content string for inclusion in html <head>

getNamedContentForPrefix

java.lang.String getNamedContentForPrefix(java.lang.String headerNamePrefix)
Output getHeaderSections() content entries with key prefixes that match headerNamePrefix (if it has not already been output)

Returns:
content string for inclusion in html <head>

addHeaderSectionFragment

void addHeaderSectionFragment(java.lang.String addToHeaderName,
                              java.lang.String text)
Add text argument to the getHeaderSections() content entry with a key that matches addToHeaderName argument


addHeaderSectionFragment

void addHeaderSectionFragment(java.lang.String headerFragmentName,
                              java.lang.String addToHeaderName,
                              java.lang.String text)
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


hasHeaderSectionFragment

boolean hasHeaderSectionFragment(java.lang.String headerFragmentName)
Indicate whether value of headerFragmentName argument has been used to add to any getHeaderSections() content entry

Returns:
true if headerFragmentName argument has been used to add to any getHeaderSections() content entry

isHeaderSectionIncluded

boolean isHeaderSectionIncluded(java.lang.String headerName)
Indicate whether value of headerName is an included header section

Returns:
true if headerName argument is an included header section

getHeaderSectionType

java.lang.String getHeaderSectionType(java.lang.String headerName)
Get the type of the getHeaderSections() content entry with a key that matches headerName argument

Returns:
type of header section

setHeaderSectionType

void setHeaderSectionType(java.lang.String headerName,
                          java.lang.String headerType)
Set the type of the getHeaderSections() content entry with a key that matches headerName argument to the value of the headerType argument


getHeaderSectionRequiredFlag

java.lang.String getHeaderSectionRequiredFlag(java.lang.String headerName)
Get the requiredflag of the getHeaderSections() content entry with a key that matches headerName argument

Returns:
requiredflag for header section

setHeaderSectionRequiredFlag

void setHeaderSectionRequiredFlag(java.lang.String headerName,
                                  java.lang.String headerReqFlag)
Set the requiredflag of the getHeaderSections() content entry with a key that matches headerName argument to the value of the headerReqFlag argument


getHeaderDynamicConfiguration

java.util.Map getHeaderDynamicConfiguration()
Access modifiable header configuration settings

Returns:
Map containing modifiable header configuration settings

getHeaderConfiguration

java.util.Map getHeaderConfiguration()
Access complete header configuration settings

Returns:
unmodifiable Map containing complete header configuration settings

isDesktop

boolean isDesktop()
Is request for /desktop rather than /portal

Returns:
true if request is for /desktop, false if request is for /portal

getPortalBaseUrl

java.lang.String getPortalBaseUrl()
Portal base url ( e.g. http://localhost:8080/jetspeed )

Returns:
portal base url

getPortalBaseUrl

java.lang.String getPortalBaseUrl(boolean encode)
Portal base url ( e.g. http://localhost:8080/jetspeed )

Returns:
portal base url

getPortalResourceUrl

java.lang.String getPortalResourceUrl(java.lang.String relativePath)
Portal base url with relativePath argument appended ( e.g. http://localhost:8080/jetspeed/javascript/dojo/ )

Returns:
portal base url with relativePath argument appended

getPortalResourceUrl

java.lang.String getPortalResourceUrl(java.lang.String relativePath,
                                      boolean encode)
Portal base url with relativePath argument appended ( e.g. http://localhost:8080/jetspeed/javascript/dojo/ )

Returns:
portal base url with relativePath argument appended

getPortalUrl

java.lang.String getPortalUrl()
Portal base servlet url ( e.g. http://localhost:8080/jetspeed/desktop/ )

Returns:
portal base servlet url

getPortalUrl

java.lang.String getPortalUrl(boolean encode)
Portal base servlet url ( e.g. http://localhost:8080/jetspeed/desktop/ )

Returns:
portal base servlet url

getPortalUrl

java.lang.String getPortalUrl(java.lang.String relativePath)
Portal base servlet url with relativePath argument appended ( e.g. http://localhost:8080/jetspeed/desktop/default-page.psml )

Returns:
portal base servlet url with relativePath argument appended

getPortalUrl

java.lang.String getPortalUrl(java.lang.String relativePath,
                              boolean encode)
Portal base servlet url with relativePath argument appended ( e.g. http://localhost:8080/jetspeed/desktop/default-page.psml )

Returns:
portal base servlet url with relativePath argument appended

dojoAddCoreLibraryRequire

void dojoAddCoreLibraryRequire(java.lang.String dojoRequire)
If no previous call using value of dojoRequire argument has been added to any getHeaderSections() content entry, add text argument to getHeaderSections() content entry for dojo core require statements


dojoAddCoreLibraryRequires

void dojoAddCoreLibraryRequires(java.lang.String dojoRequires)
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 getHeaderSections() content entry for dojo core require statements


dojoAddModuleLibraryRequire

void dojoAddModuleLibraryRequire(java.lang.String dojoRequire)
If no previous call using value of dojoRequire argument has been added to any getHeaderSections() content entry, add text argument to getHeaderSections() content entry for dojo library module require statements


dojoAddModuleLibraryRequires

void dojoAddModuleLibraryRequires(java.lang.String dojoRequires)
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 getHeaderSections() content entry for dojo library module require statements


dojoAddBodyExpandStyle

void dojoAddBodyExpandStyle(boolean omitWindowScrollbars)
Assure that header section name for dojo body expand style is included


dojoEnable

void dojoEnable()
Enable dojo by setting appropriate modifiable header configuration setting


addHeaderInfo

void addHeaderInfo(java.lang.String elementName,
                   java.util.Map attributes,
                   java.lang.String text)
Add tag information to this instance. For example, if you want to add the following tag into <head>, <foo a="1" b="2">FOO FOO</foo> Java code is: HashMap map=new HashMap(); map.put("a","1"); map.put("b","2"); headerResouce.addHeaderInfo("foo",map,"FOO FOO");

Parameters:
elementName - Tag's name
attributes - Tag's attributes
text - Tag's content

addHeaderInfo

void addHeaderInfo(java.lang.String text)
Add text as-is to this instance.

Parameters:
text - content

addJavaScript

void addJavaScript(java.lang.String path,
                   boolean defer)
Convenient method to add <script> tag with defer option.

Parameters:
path - Javascript file path
defer - defer attributes for <script> tag.

addJavaScript

void addJavaScript(java.lang.String path)
Convenient method to add <script> tag.

Parameters:
path - Javascript file path

addStyleSheet

void addStyleSheet(java.lang.String path)
Convenient method to add <link> tag.

Parameters:
path - CSS file path


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.