Java Doc for RenderingWrappingProvider.java in  » Portal » Open-Portal » com » sun » portal » wireless » providers » rendering » wrapping » 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 » Open Portal » com.sun.portal.wireless.providers.rendering.wrapping 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.portal.wireless.providers.rendering.JSPRenderingProvider
   com.sun.portal.wireless.providers.rendering.wrapping.RenderingWrappingProvider

RenderingWrappingProvider
public class RenderingWrappingProvider extends JSPRenderingProvider (Code)
The RenderingWrappingProvider class is used to wrap a native channel or a container which has AML templates written for it. This can be added to the RenderingContainer. The responsibility of this provider is to always return AML when the parent container is Rendering and return native markup when the parent container is Native.




Method Summary
public  StringgetDescription()
    
public  intgetEditType()
    
public  URLgetHelp(HttpServletRequest req)
    
public  StringgetTitle()
    
public  StringBuffergetWrappedChannelContent(HttpServletRequest req, HttpServletResponse res)
    
public  StringBuffergetWrappedChannelEdit(HttpServletRequest req, HttpServletResponse res)
    
public  voidinit(String name, HttpServletRequest req)
    
public  booleanisEditable()
    
public  booleanisPresentable(HttpServletRequest req)
    
public  StringBufferrenderContent(HttpServletRequest request, StringBuffer sb)
     This method is called from the RenderingWrappingProvider's getContent after it creates its content StringBuffer. The logic of whether to do the conversion of AML document into device specific markup or to wrap native markup to make it an AML document is implemented in this method.
protected  StringBufferrenderEditContent(HttpServletRequest req, StringBuffer sb)
     Renders the edit content for the wrapped channel.



Method Detail
getDescription
public String getDescription() throws ProviderException(Code)



getEditType
public int getEditType() throws UnknownEditTypeException(Code)



getHelp
public URL getHelp(HttpServletRequest req) throws ProviderException(Code)



getTitle
public String getTitle() throws ProviderException(Code)



getWrappedChannelContent
public StringBuffer getWrappedChannelContent(HttpServletRequest req, HttpServletResponse res) throws ProviderException(Code)
Returns Wrapped Channel markup sb StringBuffer containing wrapped channel content
Parameters:
  req - HttpServletRequest
Parameters:
  res - HttpServletResponse
throws:
  ProviderException - for error in processing



getWrappedChannelEdit
public StringBuffer getWrappedChannelEdit(HttpServletRequest req, HttpServletResponse res) throws ProviderException(Code)



init
public void init(String name, HttpServletRequest req) throws ProviderException(Code)



isEditable
public boolean isEditable() throws ProviderException(Code)



isPresentable
public boolean isPresentable(HttpServletRequest req)(Code)



renderContent
public StringBuffer renderContent(HttpServletRequest request, StringBuffer sb) throws ProviderException(Code)
This method is called from the RenderingWrappingProvider's getContent after it creates its content StringBuffer. The logic of whether to do the conversion of AML document into device specific markup or to wrap native markup to make it an AML document is implemented in this method. The logic of processing the content is driven by the following table.

Parent Container
Rendering Container
Native Container
Null - top level
Client FilePath  Native filepath e.g. 'wml'
Wrap with '<AmlContainer>'
NOOP
NOOP
Starts with 'aml'
NOOP
NOOP
Render
   

Parameters:
  request - The Http Servlet Request object that gets passed to the getContent call of the Provider/Container.
Parameters:
  sb - The StringBuffer returned by the getContent call StringBuffer The return content driven by the above mentioned logic.
throws:
  ProviderException -



renderEditContent
protected StringBuffer renderEditContent(HttpServletRequest req, StringBuffer sb) throws ProviderException(Code)
Renders the edit content for the wrapped channel.
Parameters:
  req - The Http Servlet Request object that gets passed tothe getContent call of the Provider/Container.
Parameters:
  sb - The StringBuffer returned by the getContent call StringBuffer The return content driven by the above mentioned logic.
throws:
  ProviderException -



Methods inherited from com.sun.portal.wireless.providers.rendering.JSPRenderingProvider
public StringBuffer getContent(HttpServletRequest req, HttpServletResponse res) throws ProviderException(Code)(Java Doc)
public StringBuffer getEdit(HttpServletRequest req, HttpServletResponse res) throws ProviderException(Code)(Java Doc)
public File getExistingJSPPath(ProviderContext pc, String name, String file) throws ProviderException(Code)(Java Doc)
protected File getMostSpecificJSPPath(ProviderContext pc, String name, String file) throws ProviderException(Code)(Java Doc)
public void init(String name, HttpServletRequest req) throws ProviderException(Code)(Java Doc)
protected StringBuffer renderContent(HttpServletRequest req, StringBuffer sb) throws ProviderException(Code)(Java Doc)
protected StringBuffer renderEditContent(HttpServletRequest req, StringBuffer sb) throws ProviderException(Code)(Java Doc)

w___w_w__.___j__a__v_a__2__s__.___co_m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.