Java Doc for HtmlRenderer.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » portal » alpharenderer » 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 » EJB Server resin 3.1.5 » resin » com.caucho.portal.alpharenderer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.portal.generic.AbstractRenderer
      com.caucho.portal.alpharenderer.HtmlRenderer

HtmlRenderer
public class HtmlRenderer extends AbstractRenderer (Code)
Preferences:
html.stylesheet
the css stylesheet to use, overrides the value set with setStylesheet()
ResourceBundle lookups:
portletMode.portletMode.title
The name to display when referring to the portletMode
portletMode.portletMode.shortDescription
A short description of the portlet mode
windowState.windowState.title
The name to display when referring to the windowState
windowState.windowState.shortDescription
A short description of the window state


Field Summary
final public static  StringPREFERENCE_STYLESHEET
    
final protected static  Loggerlog
    


Method Summary
protected  voidbeginPage(PrintWriter out, RenderRequest request, String namespace)
    
protected  voidbeginWindow(PrintWriter out, RenderRequest request, String namespace)
    
protected  voidendPage(PrintWriter out, RenderRequest request, String namespace)
    
protected  voidendWindow(PrintWriter out, RenderRequest request, String namespace)
    
public  StringgetDoctype()
    
public  StringgetPageTitle()
    
public  MenugetPortletModeMenu()
    
public  StringgetStylesheet()
    
public  LocationgetTitleLocation()
    
public  MenugetWindowStateMenu()
    
protected  voidhtmlPortletModeMenu(PrintWriter out, RenderRequest request, String namespace, ResourceBundle resourceBundle)
    
protected  voidhtmlTitle(PrintWriter out, RenderRequest request, String namespace, ResourceBundle resourceBundle)
    
protected  voidhtmlWindowStateMenu(PrintWriter out, RenderRequest request, String namespace, ResourceBundle resourceBundle)
    
public  voidinit()
    
public  booleanisCompact()
    
protected  voidprintNewline(PrintWriter out)
    
public  voidsetCompact(boolean compact)
     Set to true for compact output without newlines, default false.
public  voidsetDoctype(String doctype)
     The doctype.
public  voidsetPageTitle(String pageTitle)
    
public  voidsetPortletModeMenu(Menu portletModeMenu)
    
public  voidsetStylesheet(String stylesheet)
     The stylesheet to use, unless overridden with the portlet preference css.stylesheet.
public  voidsetTitleLocation(String titleLocation)
     Location to place the title of the portlet: "hidden", "frame", "header" (default), or "footer".
public  voidsetWindowStateMenu(Menu windowStateMenu)
    

Field Detail
PREFERENCE_STYLESHEET
final public static String PREFERENCE_STYLESHEET(Code)



log
final protected static Logger log(Code)





Method Detail
beginPage
protected void beginPage(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)



beginWindow
protected void beginWindow(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)



endPage
protected void endPage(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)



endWindow
protected void endWindow(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)



getDoctype
public String getDoctype()(Code)



getPageTitle
public String getPageTitle()(Code)



getPortletModeMenu
public Menu getPortletModeMenu()(Code)



getStylesheet
public String getStylesheet()(Code)



getTitleLocation
public Location getTitleLocation()(Code)



getWindowStateMenu
public Menu getWindowStateMenu()(Code)



htmlPortletModeMenu
protected void htmlPortletModeMenu(PrintWriter out, RenderRequest request, String namespace, ResourceBundle resourceBundle) throws IOException(Code)



htmlTitle
protected void htmlTitle(PrintWriter out, RenderRequest request, String namespace, ResourceBundle resourceBundle) throws IOException(Code)



htmlWindowStateMenu
protected void htmlWindowStateMenu(PrintWriter out, RenderRequest request, String namespace, ResourceBundle resourceBundle) throws IOException(Code)



init
public void init()(Code)



isCompact
public boolean isCompact()(Code)



printNewline
protected void printNewline(PrintWriter out)(Code)



setCompact
public void setCompact(boolean compact)(Code)
Set to true for compact output without newlines, default false.



setDoctype
public void setDoctype(String doctype)(Code)
The doctype. Default is html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transistional.dtd



setPageTitle
public void setPageTitle(String pageTitle)(Code)
The title for the page, included in the html output as:
 <head>
 <title>pageTitle</title>
 </head>
 



setPortletModeMenu
public void setPortletModeMenu(Menu portletModeMenu)(Code)
Default is an instance of HtmlMenu



setStylesheet
public void setStylesheet(String stylesheet)(Code)
The stylesheet to use, unless overridden with the portlet preference css.stylesheet. Default is "/portal.css". .



setTitleLocation
public void setTitleLocation(String titleLocation)(Code)
Location to place the title of the portlet: "hidden", "frame", "header" (default), or "footer".



setWindowStateMenu
public void setWindowStateMenu(Menu windowStateMenu)(Code)
Default is an instance of HtmlMenu



Fields inherited from com.caucho.portal.generic.AbstractRenderer
final public static String PAGE_HEADER_RENDERED(Code)(Java Doc)
final protected static Logger log(Code)(Java Doc)

Methods inherited from com.caucho.portal.generic.AbstractRenderer
protected void beginPage(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc)
protected void beginPage(OutputStream out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc)
protected void beginWindow(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc)
protected void beginWindow(OutputStream out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc)
protected PortletURL createControlURL(RenderRequest request)(Code)(Java Doc)
protected void endPage(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc)
protected void endPage(OutputStream out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc)
protected void endWindow(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc)
protected void endWindow(OutputStream out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc)
public void finish(PrintWriter out, RenderRequest request, String namespace, boolean isDiscarded) throws IOException(Code)(Java Doc)
public void finish(OutputStream out, RenderRequest request, String namespace, boolean isDiscarded) throws IOException(Code)(Java Doc)
public int getBufferSize()(Code)(Java Doc)
protected String getContentType(RenderRequest request)(Code)(Java Doc)
public String getDefaultContentType()(Code)(Java Doc)
protected Locale getLocale(RenderRequest request)(Code)(Java Doc)
public OutputStream getOutputStream(OutputStream out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc)
protected PortletConfig getPortletConfig(RenderRequest request)(Code)(Java Doc)
protected Set<PortletMode> getPortletModes(RenderRequest request)(Code)(Java Doc)
protected RenderResponse getRenderResponse(RenderRequest request)(Code)(Java Doc)
protected ResourceBundle getResourceBundle(RenderRequest request)(Code)(Java Doc)
protected String getShortTitle(RenderRequest request)(Code)(Java Doc)
protected String getTitle(RenderRequest request)(Code)(Java Doc)
protected Set<WindowState> getWindowStates(RenderRequest request)(Code)(Java Doc)
public PrintWriter getWriter(PrintWriter out, RenderRequest request, String namespace) throws IOException(Code)(Java Doc)
public boolean isAlwaysStream()(Code)(Java Doc)
public boolean isAlwaysWrite()(Code)(Java Doc)
public boolean isPortletModeAllowed(PortletRequest request, PortletMode portletMode)(Code)(Java Doc)
public boolean isWindowStateAllowed(PortletRequest request, WindowState windowState)(Code)(Java Doc)
protected PrintWriter printEscaped(PrintWriter out, CharSequence string)(Code)(Java Doc)
public void setAlwaysStream(boolean isAlwaysStream)(Code)(Java Doc)
public void setAlwaysWrite(boolean isAlwaysWrite)(Code)(Java Doc)
public void setBufferSize(int bufferSize)(Code)(Java Doc)
public void setDecorateWindow(boolean isDecorateWindow)(Code)(Java Doc)
public void setDefaultContentType(String defaultContentType)(Code)(Java Doc)

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.