Java Doc for HeaderResourceImpl.java in  » Portal » jetspeed-2.1.3 » org » apache » jetspeed » headerresource » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » jetspeed 2.1.3 » org.apache.jetspeed.headerresource.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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 $


Field Summary
final protected static  StringEOL
    
final protected static  StringUNNAMED_CONTENT_HEADER_NAME
    
final protected static  Loglog
    

Constructor Summary
public  HeaderResourceImpl(RequestContext context)
    
public  HeaderResourceImpl(RequestContext context, BasePortalURL baseUrlAccess, boolean isDesktop, Map headerConfiguration)
    

Method Summary
public  voidaddHeaderInfo(String text)
    
public  voidaddHeaderInfo(String elementName, Map attributes, String text)
    
public  voidaddHeaderSectionFragment(String addToHeaderName, String text)
    
public  voidaddHeaderSectionFragment(String headerFragmentName, String addToHeaderName, String text)
    
protected  voidaddHeaderSectionFragment(String headerFragmentName, String addToHeaderName, String text, boolean alreadyCheckedFragName)
    
public  voidaddJavaScript(String path, boolean defer)
    
public  voidaddJavaScript(String path)
    
public  voidaddStyleSheet(String path)
    
public  voiddojoAddBodyExpandStyle(boolean omitWindowScrollbars)
    
public  voiddojoAddCoreLibraryRequire(String dojoRequire)
    
public  voiddojoAddCoreLibraryRequires(String dojoRequires)
    
public  voiddojoAddModuleLibraryRequire(String dojoRequire)
    
public  voiddojoAddModuleLibraryRequires(String dojoRequires)
    
protected  voiddojoAddRequire(String dojoRequire, String addToHeaderName)
    
protected  voiddojoAddRequires(String dojoRequires, String addToHeaderName)
    
protected  voiddojoDisable()
    
public  voiddojoEnable()
    
protected  StringdojoGenerateBodyExpandNoScrollStyle()
    
protected  StringdojoGenerateBodyExpandStyle()
    
protected  StringdojoGenerateInit()
    
protected  StringdojoGeneratePreinit()
    
protected  StringdojoGenerateWriteincludes()
    
protected  StringdojoGetPath()
    
protected  StringgenerateHeaderSection(String headerName)
    
protected  BasePortalURLgetBaseUrlAccess()
    
public  StringgetContent()
    
public  MapgetHeaderConfiguration()
    
public  MapgetHeaderDynamicConfiguration()
    
protected  MapgetHeaderResourceRegistry()
    
protected  MapgetHeaderSectionNames(boolean create)
    
protected  ListgetHeaderSectionOrderList(boolean create)
    
public  StringgetHeaderSectionRequiredFlag(String headerName)
    
public  StringgetHeaderSectionType(String headerName)
    
protected  MapgetHeaderSectionTypes(boolean create)
    
protected  MapgetHeaderSections()
    
protected  MapgetHeaderSectionsAddedFragments()
    
public  StringgetNamedContent()
    
public  StringgetNamedContent(String headerName)
    
public  StringgetNamedContentForPrefix(String headerNamePrefix)
    
protected  voidgetNamedResourceContent(String headerNameMatch, boolean headerNameMatchPrefixOnly, StringBuffer header)
    
protected  HashMapgetNamedResourcesAlreadyOutput()
    
public  StringgetPortalBaseUrl()
     Portal base url ( e.g.
public  StringgetPortalBaseUrl(boolean encode)
     Portal base url ( e.g.
public  StringgetPortalResourceUrl(String relativePath)
     Portal base url with relativePath argument appended ( e.g.
public  StringgetPortalResourceUrl(String relativePath, boolean encode)
     Portal base url with relativePath argument appended ( e.g.
public  StringgetPortalUrl()
     Portal base servlet url ( e.g.
public  StringgetPortalUrl(boolean encode)
     Portal base servlet url ( e.g.
public  StringgetPortalUrl(String relativePath)
     Portal base servlet url with relativePath argument appended ( e.g.
public  StringgetPortalUrl(String relativePath, boolean encode)
     Portal base servlet url with relativePath argument appended ( e.g.
protected  RequestContextgetRequestContext()
    
public  StringgetUnnamedContent()
    
protected  voidgetUnnamedContent(StringBuffer header)
    
public  booleanhasHeaderSectionFragment(String headerFragmentName)
    
protected  booleanhasHeaderSectionFragment(String headerFragmentName, boolean setToTrue)
    
public  booleanisDesktop()
    
public  booleanisHeaderSectionIncluded(String headerName)
    
protected  StringjetspeedGenerateBasetag()
    
protected  voidorderHeaderSection(String headerName)
    
public  voidsetHeaderSectionRequiredFlag(String headerName, String headerReqFlag)
    
public  voidsetHeaderSectionType(String headerName, String headerType)
    
protected  voidsetNamedResourcesAlreadyOutput(HashMap newOne)
    
public  StringtoString()
    

Field Detail
EOL
final protected static String EOL(Code)



UNNAMED_CONTENT_HEADER_NAME
final protected static String UNNAMED_CONTENT_HEADER_NAME(Code)



log
final protected static Log log(Code)




Constructor Detail
HeaderResourceImpl
public HeaderResourceImpl(RequestContext context)(Code)
Default Constructor
Parameters:
  context -



HeaderResourceImpl
public HeaderResourceImpl(RequestContext context, BasePortalURL baseUrlAccess, boolean isDesktop, Map headerConfiguration)(Code)




Method Detail
addHeaderInfo
public void addHeaderInfo(String text)(Code)



addHeaderInfo
public void addHeaderInfo(String elementName, Map attributes, String text)(Code)



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)



addJavaScript
public void addJavaScript(String path)(Code)



addStyleSheet
public void addStyleSheet(String path)(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)



dojoGenerateInit
protected String dojoGenerateInit()(Code)



dojoGeneratePreinit
protected String dojoGeneratePreinit()(Code)



dojoGenerateWriteincludes
protected String dojoGenerateWriteincludes()(Code)



dojoGetPath
protected String dojoGetPath()(Code)



generateHeaderSection
protected String generateHeaderSection(String headerName)(Code)



getBaseUrlAccess
protected BasePortalURL getBaseUrlAccess()(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



getRequestContext
protected RequestContext getRequestContext()(Code)



getUnnamedContent
public String getUnnamedContent()(Code)
Output all unnamed (getHeaderInfoSet()) content (that has not already been output) content string for inclusion in html <head>



getUnnamedContent
protected void getUnnamedContent(StringBuffer header)(Code)



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>



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.