Java Doc for BeanModelAlterer.java in  » Web-Framework » RSF » uk » org » ponder » beanutil » 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 » Web Framework » RSF » uk.org.ponder.beanutil 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


uk.org.ponder.beanutil.BeanModelAlterer

All known Subclasses:   uk.org.ponder.mapping.DARApplier,
BeanModelAlterer
public interface BeanModelAlterer (Code)
The base interface for RSF's expression language (EL)




Method Summary
public  voidapplyAlteration(Object rootobj, DataAlterationRequest dar, DAREnvironment darenv)
    
public  voidapplyAlterations(Object rootobj, DARList toapply, DAREnvironment darenv)
     Apply the alterations mentioned in the enclosed DARList to the supplied bean.
public  ShellInfofetchShells(String fullpath, Object rootobj, boolean expectMethod)
     Fetch the "shells" for the specified path through the bean model, which is an array of Object, one for each path segment in the supplied path.
public  ObjectgetBeanValue(String fullpath, Object root, BeanPredicateModel addressibleModel)
     Fetch a bean value by path from the supplied object root.
Parameters:
  fullpath - The path of the bean to fetch
Parameters:
  root - The root object which the path is relative to
Parameters:
  addressibleModel - A model expressing permissible paths.
public  ObjectgetFlattenedValue(String fullpath, Object root, Class targetclazz, BeanResolver resolver)
     Converts the object currently present at the supplied bean path into the specified target class, which must be one of the classes handled by the UIType framework.
Parameters:
  fullpath - The full EL path from the root object from which theflattened value is to be fetched.
Parameters:
  root - The root object
Parameters:
  targetclazz - A class of one of the UIType types, or elsenull.
public  ObjectinvokeBeanMethod(ShellInfo shells, BeanPredicateModel addressibleModel)
     Invoke a bean method from a path in the model.
public  ObjectinvokeBeanMethod(String methodEL, Object rootobj)
     Invoke a bean method from a path in the model.
public  voidsetBeanValue(String fullpath, Object root, Object value, TargettedMessageList messages, boolean applyconversion)
    



Method Detail
applyAlteration
public void applyAlteration(Object rootobj, DataAlterationRequest dar, DAREnvironment darenv)(Code)

See Also:   BeanModelAlterer.applyAlterations(Object,DARList,TargettedMessageList)
See Also:    *



applyAlterations
public void applyAlterations(Object rootobj, DARList toapply, DAREnvironment darenv)(Code)
Apply the alterations mentioned in the enclosed DARList to the supplied bean. Note that this method assumes that the TargettedMessageList is already navigated to the root path referred to by the bean, and that the DARList mentions paths relative to that bean.
Parameters:
  rootobj - The object to which alterations are to be applied
Parameters:
  toapply - The list of alterations
Parameters:
  darenv - A DAREnvironment record supplying any environmentrequire for the application. May be null



fetchShells
public ShellInfo fetchShells(String fullpath, Object rootobj, boolean expectMethod)(Code)
Fetch the "shells" for the specified path through the bean model, which is an array of Object, one for each path segment in the supplied path. The array will quietly terminate at the first bean which is either null or a DARApplier. If expectMethod is true, it will also stop at any segment which is an exact match for a method name, or a MethodInvokingProxy.



getBeanValue
public Object getBeanValue(String fullpath, Object root, BeanPredicateModel addressibleModel)(Code)
Fetch a bean value by path from the supplied object root.
Parameters:
  fullpath - The path of the bean to fetch
Parameters:
  root - The root object which the path is relative to
Parameters:
  addressibleModel - A model expressing permissible paths. May be nullif the path requires no checking.



getFlattenedValue
public Object getFlattenedValue(String fullpath, Object root, Class targetclazz, BeanResolver resolver)(Code)
Converts the object currently present at the supplied bean path into the specified target class, which must be one of the classes handled by the UIType framework.
Parameters:
  fullpath - The full EL path from the root object from which theflattened value is to be fetched.
Parameters:
  root - The root object
Parameters:
  targetclazz - A class of one of the UIType types, or elsenull. If null, the type of thereturned object will be either String[] or String, depending onwhether the path holds an enumerable (vectorial) value or not.
Parameters:
  resolver - A resolver which will be applied to each scalar value toconvert it to String if necessary. If null,default leaf conversion will be applied.



invokeBeanMethod
public Object invokeBeanMethod(ShellInfo shells, BeanPredicateModel addressibleModel)(Code)
Invoke a bean method from a path in the model.
Parameters:
  shells - An encoding of the method to be invoked, assumed to be fetched fromBeanModelAlterer.fetchShells(String,Object) - the section of the pathreferring to bean paths has terminated at the last bean present in theShellInfo.shells array. The next path segment is assumed to bethe method name, and the final section is filled with arguments.
Parameters:
  addressibleModel - A model for the beans which are permissible to beaddressed for this invocation. May be null if no securitychecks are required.



invokeBeanMethod
public Object invokeBeanMethod(String methodEL, Object rootobj)(Code)
Invoke a bean method from a path in the model.



setBeanValue
public void setBeanValue(String fullpath, Object root, Object value, TargettedMessageList messages, boolean applyconversion)(Code)



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