|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HeaderResource
HeaderResource has tags information to put them into <head> tag.
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 |
---|
static final java.lang.String HEADER_TYPE_SCRIPT_BLOCK_START
static final int HEADER_TYPE_ID_SCRIPT_BLOCK_START
static final java.lang.String HEADER_TYPE_SCRIPT_BLOCK
static final int HEADER_TYPE_ID_SCRIPT_BLOCK
static final java.lang.String HEADER_TYPE_SCRIPT_BLOCK_END
static final int HEADER_TYPE_ID_SCRIPT_BLOCK_END
static final java.lang.String HEADER_TYPE_SCRIPT_TAG
static final int HEADER_TYPE_ID_SCRIPT_TAG
static final java.lang.String HEADER_TYPE_STYLE_BLOCK
static final int HEADER_TYPE_ID_STYLE_BLOCK
static final java.lang.String HEADER_TYPE_LINK_TAG
static final int HEADER_TYPE_ID_LINK_TAG
static final java.lang.String HEADER_TYPE_BASE_TAG
static final int HEADER_TYPE_ID_BASE_TAG
static final java.lang.String HEADER_CONFIG_ORDER
static final java.lang.String HEADER_CONFIG_TYPES
static final java.lang.String HEADER_CONFIG_REQUIREDFLAG
static final java.lang.String HEADER_CONFIG_DOJO
static final java.lang.String HEADER_CONFIG_DESKTOP
static final java.lang.String HEADER_INTERNAL_INCLUDED_NAMES
static final java.lang.String HEADER_SECTION_BASE_TAG
static final java.lang.String HEADER_SECTION_NAME_PREFIX_DOJO
static final java.lang.String HEADER_SECTION_DOJO_PARAMETERS
static final java.lang.String HEADER_SECTION_DOJO_PREINIT
static final java.lang.String HEADER_SECTION_DOJO_CONFIG
static final java.lang.String HEADER_SECTION_DOJO_INIT
static final java.lang.String HEADER_SECTION_DOJO_REQUIRES_CORE
static final java.lang.String HEADER_SECTION_DOJO_MODULES_PATH
static final java.lang.String HEADER_SECTION_DOJO_REQUIRES_MODULES
static final java.lang.String HEADER_SECTION_DOJO_WRITEINCLUDES
static final java.lang.String HEADER_SECTION_DOJO_MODULES_NAMESPACE
static final java.lang.String HEADER_SECTION_DOJO_STYLE_BODYEXPAND
static final java.lang.String HEADER_SECTION_DOJO_STYLE_BODYEXPAND_NOSCROLL
static final java.lang.String HEADER_SECTION_DESKTOP_STYLE_LAYOUT
static final java.lang.String HEADER_SECTION_DESKTOP_INIT
static final java.lang.String HEADER_INTERNAL_JETSPEED_VAR_NAME
static final java.lang.String HEADER_INTERNAL_DOJO_CONFIG_JETSPEED_VAR_NAME
static final java.lang.String HEADER_INTERNAL_DOJO_CONFIG_JETSPEED_VAR_NAME_SCOPE
static final java.lang.String HEADER_CONFIG_DOJO_ENABLE
static final java.lang.String HEADER_CONFIG_DOJO_PATH
static final java.lang.String HEADER_CONFIG_DOJO_PARAM_ISDEBUG
static final java.lang.String HEADER_CONFIG_DOJO_PARAM_DEBUGALLCOSTS
static final java.lang.String HEADER_CONFIG_DOJO_PARAM_PREVENT_BACKBUTTON_FIX
static final java.lang.String HEADER_CONFIG_DOJO_PARAMS
static final java.lang.String HEADER_CONFIG_DOJO_REQUIRES_CORE
static final java.lang.String HEADER_CONFIG_DOJO_MODULES_PATH
static final java.lang.String HEADER_CONFIG_DOJO_MODULES_NAMESPACE
static final java.lang.String HEADER_CONFIG_DOJO_REQUIRES_MODULES
static final java.lang.String HEADER_CONFIG_DESKTOP_LAYOUT_DECORATION_DEFAULT
static final java.lang.String HEADER_CONFIG_DESKTOP_PORTLET_DECORATION_DEFAULT
static final java.lang.String HEADER_CONFIG_DESKTOP_PAGE_AJAXNAVIGATION
static final java.lang.String HEADER_CONFIG_DESKTOP_PAGE_ACTION_BUTTON_TOOLTIP
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_TILING
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_HEIGHT_EXPAND
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_HEIGHT
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_WIDTH
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_ORDER
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_NOIMAGE
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_MENU_ORDER
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_MAX
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ACTION_BUTTON_TOOLTIP
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ICON_ENABLED
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_ICON_PATH
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_TITLEBAR_ENABLED
static final java.lang.String HEADER_CONFIG_DESKTOP_WINDOW_RESIZEBAR_ENABLED
static final java.lang.String DESKTOP_JSON_WINDOW_ACTION_BUTTON_ORDER
static final java.lang.String DESKTOP_JSON_WINDOW_ACTION_NOIMAGE
static final java.lang.String DESKTOP_JSON_WINDOW_ACTION_MENU_ORDER
static final java.lang.String DESKTOP_JSON_WINDOW_ACTION_BUTTON_MAX
static final java.lang.String DESKTOP_JSON_WINDOW_ACTION_BUTTON_TOOLTIP
static final java.lang.String DESKTOP_JSON_WINDOW_ICON_ENABLED
static final java.lang.String DESKTOP_JSON_WINDOW_ICON_PATH
static final java.lang.String DESKTOP_JSON_WINDOW_TITLEBAR_ENABLED
static final java.lang.String DESKTOP_JSON_WINDOW_RESIZEBAR_ENABLED
static final java.lang.String HEADER_INTERNAL_CONFIG_DESKTOP_WINDOW_ACTION
static final java.lang.String HEADER_DEBUG_REQUIRES
Method Detail |
---|
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String getContent()
java.lang.String getUnnamedContent()
java.lang.String getNamedContent()
java.lang.String getNamedContent(java.lang.String headerName)
java.lang.String getNamedContentForPrefix(java.lang.String headerNamePrefix)
void addHeaderSectionFragment(java.lang.String addToHeaderName, java.lang.String text)
void addHeaderSectionFragment(java.lang.String headerFragmentName, java.lang.String addToHeaderName, java.lang.String text)
boolean hasHeaderSectionFragment(java.lang.String headerFragmentName)
boolean isHeaderSectionIncluded(java.lang.String headerName)
java.lang.String getHeaderSectionType(java.lang.String headerName)
void setHeaderSectionType(java.lang.String headerName, java.lang.String headerType)
java.lang.String getHeaderSectionRequiredFlag(java.lang.String headerName)
void setHeaderSectionRequiredFlag(java.lang.String headerName, java.lang.String headerReqFlag)
java.util.Map getHeaderDynamicConfiguration()
java.util.Map getHeaderConfiguration()
boolean isDesktop()
java.lang.String getPortalBaseUrl()
java.lang.String getPortalBaseUrl(boolean encode)
java.lang.String getPortalResourceUrl(java.lang.String relativePath)
java.lang.String getPortalResourceUrl(java.lang.String relativePath, boolean encode)
java.lang.String getPortalUrl()
java.lang.String getPortalUrl(boolean encode)
java.lang.String getPortalUrl(java.lang.String relativePath)
java.lang.String getPortalUrl(java.lang.String relativePath, boolean encode)
void dojoAddCoreLibraryRequire(java.lang.String dojoRequire)
void dojoAddCoreLibraryRequires(java.lang.String dojoRequires)
void dojoAddModuleLibraryRequire(java.lang.String dojoRequire)
void dojoAddModuleLibraryRequires(java.lang.String dojoRequires)
void dojoAddBodyExpandStyle(boolean omitWindowScrollbars)
void dojoEnable()
void addHeaderInfo(java.lang.String elementName, java.util.Map attributes, java.lang.String text)
elementName
- Tag's nameattributes
- Tag's attributestext
- Tag's contentvoid addHeaderInfo(java.lang.String text)
text
- contentvoid addJavaScript(java.lang.String path, boolean defer)
path
- Javascript file pathdefer
- defer attributes for <script> tag.void addJavaScript(java.lang.String path)
path
- Javascript file pathvoid addStyleSheet(java.lang.String path)
path
- CSS file path
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |