Java Doc for WSRPFactory.java in  » Portal » Open-Portal » com » sun » portal » wsrp » common » 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.wsrp.common 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.wsrp.common.WSRPFactory

WSRPFactory
public class WSRPFactory (Code)
Utility class for converting JAX-RPC generated objects into JAXB-compatible and vice versa. In addition, it has convenient methods for converting these objects into XML string. This class contains the following method patterns:
  • get[WSRP type]([JAXB type])) - gets the WSRP type from the corresponding JAXB type
  • get[WSRP type](String xml) - gets the WSRP type from the JAXB marshalled XML string
  • get[WSRP type]XML([WSRP type] - gets the JAXB marshalled XML based on the corresponding WSRP type
  • getJAXB[JAXB type]([WSRP type]) - gets the JAXB type for the corresponding WSRP type
  • getJAXB[JAXB type](String xml) - gets the JAXB type from the JAXB marshalled XML string.
Note that not all method patterns are implemented for all JAXB / WSRP object types. If necessary, they can be added.


Field Summary
final public static  StringREGISTRATION_PROPERTY_DESC_HINT
    
final public static  StringREGISTRATION_PROPERTY_DESC_LABEL
    
protected static  WSRPFactoryfactory
    


Method Summary
public  StringgetDestroyPortletsResponseXML(DestroyPortletsResponse dpr)
    
public  StringgetDestroyPortletsResponseXML(DestroyPortletsResponse dpr, boolean isFormatted)
    
public static  ExtensiongetExtension(JAXBExtensionType jex)
    
public static  WSRPFactorygetInstance()
    
public static  ItemDescriptiongetItemDescription(JAXBItemDescriptionType jid)
    
public  JAXBDestroyFailedTypegetJAXBDestroyFailedType(DestroyFailed df)
    
public  JAXBDestroyPortletsResponseTypegetJAXBDestroyPortletsResponseType(DestroyPortletsResponse dpr)
    
public  JAXBExtensionTypegetJAXBExtensionType(Extension ex)
    
public  JAXBItemDescriptionTypegetJAXBItemDescriptionType(ItemDescription id)
    
public  JAXBLocalizedStringTypegetJAXBLocalizedStringType(LocalizedString ls)
    
public  JAXBMarkupTypeTypegetJAXBMarkupTypeType(MarkupType mt)
    
public  JAXBModelDescriptiongetJAXBModelDescription(String xml)
    
public  JAXBModelDescriptiongetJAXBModelDescription(ModelDescription md)
    
public  JAXBModelDescriptionTypegetJAXBModelDescriptionType(JAXBModelDescription jmd)
    
public  JAXBModelTypesTypegetJAXBModelTypesType(ModelTypes mts)
    
public  JAXBPortletContextTypegetJAXBPortletContextType(PortletContext pc)
    
public  JAXBPortletDescriptionTypegetJAXBPortletDescriptionType(PortletDescription pd)
    
public  JAXBPortletPropertyDescriptionResponseTypegetJAXBPortletPropertyDescriptionResponseType(PortletPropertyDescriptionResponse ppdr)
    
public  JAXBPropertyDescriptionTypegetJAXBPropertyDescription(PropertyDescription pd)
    
public  JAXBPropertyTypegetJAXBPropertyType(Property p)
    
public  JAXBRegistrationContextgetJAXBRegistrationContext(RegistrationContext rc)
    
public  JAXBRegistrationDatagetJAXBRegistrationData(RegistrationData rd)
    
public  JAXBResourceListTypegetJAXBResourceListType(ResourceList rl)
    
public  JAXBResourceTypegetJAXBResourceType(Resource r)
    
public  JAXBResourceValueTypegetJAXBResourceValueType(ResourceValue rv)
    
public  JAXBServiceDescriptiongetJAXBServiceDescription(ServiceDescription sd)
    
public  StringgetJAXBXML(Object jaxbObject)
    
public  StringgetJAXBXML(Object jaxbObject, boolean isFormatted)
     Gets the JAXB marshalled XML string.
public static  LocalizedStringgetLocalizedString(JAXBLocalizedStringType jls, String resourceName)
    
public static  LocalizedStringgetLocalizedString(JAXBLocalizedStringType jls)
    
public static  MarkupTypegetMarkupType(JAXBMarkupTypeType jmt)
    
public static  ModelDescriptiongetModelDescription(JAXBModelDescriptionType jmd)
    
public static  ModelTypesgetModelTypes(JAXBModelTypesType jmt)
    
public  ObjectFactorygetObjectFactory()
    
public  StringgetPortletContextXML(PortletContext pc)
    
public  StringgetPortletContextXML(PortletContext pc, boolean isFormatted)
    
public static  PortletDescriptiongetPortletDescription(JAXBPortletDescriptionType jpd)
    
public  StringgetPortletDescriptionXML(PortletDescription pd)
    
public  StringgetPortletDescriptionXML(PortletDescription pd, boolean isFormatted)
    
public  StringgetPortletPropertyDescriptionResponseXML(PortletPropertyDescriptionResponse ppdr)
    
public  StringgetPortletPropertyDescriptionResponseXML(PortletPropertyDescriptionResponse ppdr, boolean isFormatted)
    
public static  PropertygetProperty(JAXBPropertyType jp)
    
public static  PropertyDescriptiongetPropertyDescription(JAXBPropertyDescriptionType jpd)
    
public  StringgetPropertyListXML(PropertyList pl)
    
public  StringgetPropertyListXML(PropertyList pl, boolean isFormatted)
    
public  RegistrationContextgetRegistrationContext(String rcXML)
    
public static  RegistrationContextgetRegistrationContext(JAXBRegistrationContext jrc)
    
public  StringgetRegistrationContextXML(RegistrationContext rc)
    
public  StringgetRegistrationContextXML(RegistrationContext rc, boolean isFormatted)
    
public  RegistrationDatagetRegistrationData(String rdXML)
    
public static  RegistrationDatagetRegistrationData(JAXBRegistrationData jrd)
    
public  StringgetRegistrationDataXML(RegistrationData rd)
    
public  StringgetRegistrationDataXML(RegistrationData rd, boolean isFormatted)
    
public static  ResourcegetResource(JAXBResourceType jr)
    
public static  ResourceListgetResourceList(JAXBResourceListType jrl)
    
public static  ResourceValuegetResourceValue(JAXBResourceValueType jrv)
    
public  ServiceDescriptiongetServiceDescription(String sdXML)
    
public static  ServiceDescriptiongetServiceDescription(JAXBServiceDescriptionType jsd)
    
public  StringgetServiceDescriptionXML(ServiceDescription sd)
    
public  StringgetServiceDescriptionXML(ServiceDescription sd, boolean isFormatted)
    
public  voidinit()
    

Field Detail
REGISTRATION_PROPERTY_DESC_HINT
final public static String REGISTRATION_PROPERTY_DESC_HINT(Code)



REGISTRATION_PROPERTY_DESC_LABEL
final public static String REGISTRATION_PROPERTY_DESC_LABEL(Code)



factory
protected static WSRPFactory factory(Code)





Method Detail
getDestroyPortletsResponseXML
public String getDestroyPortletsResponseXML(DestroyPortletsResponse dpr) throws WSRPException(Code)



getDestroyPortletsResponseXML
public String getDestroyPortletsResponseXML(DestroyPortletsResponse dpr, boolean isFormatted) throws WSRPException(Code)



getExtension
public static Extension getExtension(JAXBExtensionType jex)(Code)



getInstance
public static WSRPFactory getInstance() throws WSRPException(Code)



getItemDescription
public static ItemDescription getItemDescription(JAXBItemDescriptionType jid)(Code)



getJAXBDestroyFailedType
public JAXBDestroyFailedType getJAXBDestroyFailedType(DestroyFailed df) throws WSRPException(Code)



getJAXBDestroyPortletsResponseType
public JAXBDestroyPortletsResponseType getJAXBDestroyPortletsResponseType(DestroyPortletsResponse dpr) throws WSRPException(Code)



getJAXBExtensionType
public JAXBExtensionType getJAXBExtensionType(Extension ex) throws WSRPException(Code)



getJAXBItemDescriptionType
public JAXBItemDescriptionType getJAXBItemDescriptionType(ItemDescription id) throws WSRPException(Code)



getJAXBLocalizedStringType
public JAXBLocalizedStringType getJAXBLocalizedStringType(LocalizedString ls) throws WSRPException(Code)



getJAXBMarkupTypeType
public JAXBMarkupTypeType getJAXBMarkupTypeType(MarkupType mt) throws WSRPException(Code)



getJAXBModelDescription
public JAXBModelDescription getJAXBModelDescription(String xml) throws WSRPException(Code)



getJAXBModelDescription
public JAXBModelDescription getJAXBModelDescription(ModelDescription md) throws WSRPException(Code)



getJAXBModelDescriptionType
public JAXBModelDescriptionType getJAXBModelDescriptionType(JAXBModelDescription jmd) throws WSRPException(Code)



getJAXBModelTypesType
public JAXBModelTypesType getJAXBModelTypesType(ModelTypes mts) throws WSRPException(Code)



getJAXBPortletContextType
public JAXBPortletContextType getJAXBPortletContextType(PortletContext pc) throws WSRPException(Code)



getJAXBPortletDescriptionType
public JAXBPortletDescriptionType getJAXBPortletDescriptionType(PortletDescription pd) throws WSRPException(Code)



getJAXBPortletPropertyDescriptionResponseType
public JAXBPortletPropertyDescriptionResponseType getJAXBPortletPropertyDescriptionResponseType(PortletPropertyDescriptionResponse ppdr) throws WSRPException(Code)



getJAXBPropertyDescription
public JAXBPropertyDescriptionType getJAXBPropertyDescription(PropertyDescription pd) throws WSRPException(Code)



getJAXBPropertyType
public JAXBPropertyType getJAXBPropertyType(Property p) throws WSRPException(Code)



getJAXBRegistrationContext
public JAXBRegistrationContext getJAXBRegistrationContext(RegistrationContext rc) throws WSRPException(Code)



getJAXBRegistrationData
public JAXBRegistrationData getJAXBRegistrationData(RegistrationData rd) throws WSRPException(Code)



getJAXBResourceListType
public JAXBResourceListType getJAXBResourceListType(ResourceList rl) throws WSRPException(Code)



getJAXBResourceType
public JAXBResourceType getJAXBResourceType(Resource r) throws WSRPException(Code)



getJAXBResourceValueType
public JAXBResourceValueType getJAXBResourceValueType(ResourceValue rv) throws WSRPException(Code)



getJAXBServiceDescription
public JAXBServiceDescription getJAXBServiceDescription(ServiceDescription sd) throws WSRPException(Code)



getJAXBXML
public String getJAXBXML(Object jaxbObject) throws WSRPException(Code)



getJAXBXML
public String getJAXBXML(Object jaxbObject, boolean isFormatted) throws WSRPException(Code)
Gets the JAXB marshalled XML string.



getLocalizedString
public static LocalizedString getLocalizedString(JAXBLocalizedStringType jls, String resourceName)(Code)



getLocalizedString
public static LocalizedString getLocalizedString(JAXBLocalizedStringType jls)(Code)



getMarkupType
public static MarkupType getMarkupType(JAXBMarkupTypeType jmt)(Code)



getModelDescription
public static ModelDescription getModelDescription(JAXBModelDescriptionType jmd)(Code)



getModelTypes
public static ModelTypes getModelTypes(JAXBModelTypesType jmt)(Code)



getObjectFactory
public ObjectFactory getObjectFactory()(Code)



getPortletContextXML
public String getPortletContextXML(PortletContext pc) throws WSRPException(Code)



getPortletContextXML
public String getPortletContextXML(PortletContext pc, boolean isFormatted) throws WSRPException(Code)



getPortletDescription
public static PortletDescription getPortletDescription(JAXBPortletDescriptionType jpd)(Code)



getPortletDescriptionXML
public String getPortletDescriptionXML(PortletDescription pd) throws WSRPException(Code)



getPortletDescriptionXML
public String getPortletDescriptionXML(PortletDescription pd, boolean isFormatted) throws WSRPException(Code)



getPortletPropertyDescriptionResponseXML
public String getPortletPropertyDescriptionResponseXML(PortletPropertyDescriptionResponse ppdr) throws WSRPException(Code)



getPortletPropertyDescriptionResponseXML
public String getPortletPropertyDescriptionResponseXML(PortletPropertyDescriptionResponse ppdr, boolean isFormatted) throws WSRPException(Code)



getProperty
public static Property getProperty(JAXBPropertyType jp)(Code)



getPropertyDescription
public static PropertyDescription getPropertyDescription(JAXBPropertyDescriptionType jpd)(Code)



getPropertyListXML
public String getPropertyListXML(PropertyList pl) throws WSRPException(Code)



getPropertyListXML
public String getPropertyListXML(PropertyList pl, boolean isFormatted) throws WSRPException(Code)



getRegistrationContext
public RegistrationContext getRegistrationContext(String rcXML) throws WSRPException(Code)



getRegistrationContext
public static RegistrationContext getRegistrationContext(JAXBRegistrationContext jrc)(Code)



getRegistrationContextXML
public String getRegistrationContextXML(RegistrationContext rc) throws WSRPException(Code)



getRegistrationContextXML
public String getRegistrationContextXML(RegistrationContext rc, boolean isFormatted) throws WSRPException(Code)



getRegistrationData
public RegistrationData getRegistrationData(String rdXML) throws WSRPException(Code)



getRegistrationData
public static RegistrationData getRegistrationData(JAXBRegistrationData jrd)(Code)



getRegistrationDataXML
public String getRegistrationDataXML(RegistrationData rd) throws WSRPException(Code)



getRegistrationDataXML
public String getRegistrationDataXML(RegistrationData rd, boolean isFormatted) throws WSRPException(Code)



getResource
public static Resource getResource(JAXBResourceType jr)(Code)



getResourceList
public static ResourceList getResourceList(JAXBResourceListType jrl)(Code)



getResourceValue
public static ResourceValue getResourceValue(JAXBResourceValueType jrv)(Code)



getServiceDescription
public ServiceDescription getServiceDescription(String sdXML) throws WSRPException(Code)



getServiceDescription
public static ServiceDescription getServiceDescription(JAXBServiceDescriptionType jsd)(Code)



getServiceDescriptionXML
public String getServiceDescriptionXML(ServiceDescription sd) throws WSRPException(Code)



getServiceDescriptionXML
public String getServiceDescriptionXML(ServiceDescription sd, boolean isFormatted) throws WSRPException(Code)



init
public void init() throws WSRPException(Code)



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.