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


java.lang.Object
   uk.org.ponder.rsf.request.FossilizedConverter

FossilizedConverter
public class FossilizedConverter (Code)


Field Summary
final public static  StringBINDING_SUFFIX
     A suffix to be used for the "componentless" bindings defined by UIDeletionBinding and UIELBinding.
final public static  StringCOMMAND_LINK_PARAMETERS
    
final public static  StringDELETION_KEY
    
final public static  StringELBINDING_KEY
    
final public static  charEL_BINDING
    
final public static  StringFOSSIL_SUFFIX
     The suffix appended to the component fullID in order to derive the key for its corresponding fossilized binding.
final public static  charINPUT_COMPONENT
    
final public static  charINPUT_COMPONENT_MUSTAPPLY
    
final public static  charOBJECT_BINDING
    
final public static  charOUTPUT_COMPONENT
    
final public static  StringRESHAPER_SUFFIX
    
final public static  StringVALUE_DELETION_KEY
    
final public static  StringVIRTUAL_ELBINDING_KEY
    


Method Summary
public  StringcomputeBindingValue(String lvalue, Object rvalue)
    
public  voidcomputeDeletionBinding(UIDeletionBinding binding)
    
public  voidcomputeELBinding(UIELBinding binding)
    
public  UIParametercomputeFossilizedBinding(UIBound togenerate, Object modelvalue)
     Computes the fossilised binding parameter that needs to be added to forms for which the supplied UIBound is a submitting control.
public  UIParametercomputeReshaperBinding(UIBound togenerate)
    
public  voidfixupNewValue(SubmittedValueEntry sve, RenderSystemDecoder rendersystemstatic, String key, String value)
     Fixes up the supplied "new value" relative to information discovered in the fossilized binding.
public  StringgetReshaperKey(String componentid)
    
public  booleanisFossilisedBinding(String key)
     A utility method to determine whether a given key (from the request map) represents a Fossilised binding, i.e.
public  booleanisNonComponentBinding(String key)
    
public  SubmittedValueEntryparseBinding(String key, String value)
    
public  SubmittedValueEntryparseFossil(String key, String value)
     Attempts to construct a SubmittedValueEntry on a key/value pair found in the request map, for which isFossilisedBinding has already returned true.
public  voidsetSAXalXMLProvider(SAXalXMLProvider xmlprovider)
    

Field Detail
BINDING_SUFFIX
final public static String BINDING_SUFFIX(Code)
A suffix to be used for the "componentless" bindings defined by UIDeletionBinding and UIELBinding.



COMMAND_LINK_PARAMETERS
final public static String COMMAND_LINK_PARAMETERS(Code)



DELETION_KEY
final public static String DELETION_KEY(Code)



ELBINDING_KEY
final public static String ELBINDING_KEY(Code)



EL_BINDING
final public static char EL_BINDING(Code)



FOSSIL_SUFFIX
final public static String FOSSIL_SUFFIX(Code)
The suffix appended to the component fullID in order to derive the key for its corresponding fossilized binding.



INPUT_COMPONENT
final public static char INPUT_COMPONENT(Code)



INPUT_COMPONENT_MUSTAPPLY
final public static char INPUT_COMPONENT_MUSTAPPLY(Code)



OBJECT_BINDING
final public static char OBJECT_BINDING(Code)



OUTPUT_COMPONENT
final public static char OUTPUT_COMPONENT(Code)



RESHAPER_SUFFIX
final public static String RESHAPER_SUFFIX(Code)



VALUE_DELETION_KEY
final public static String VALUE_DELETION_KEY(Code)



VIRTUAL_ELBINDING_KEY
final public static String VIRTUAL_ELBINDING_KEY(Code)





Method Detail
computeBindingValue
public String computeBindingValue(String lvalue, Object rvalue)(Code)



computeDeletionBinding
public void computeDeletionBinding(UIDeletionBinding binding)(Code)



computeELBinding
public void computeELBinding(UIELBinding binding)(Code)



computeFossilizedBinding
public UIParameter computeFossilizedBinding(UIBound togenerate, Object modelvalue)(Code)
Computes the fossilised binding parameter that needs to be added to forms for which the supplied UIBound is a submitting control. The value of the bound component is one of the (three) UITypes, or else an unknown non-leaf type. This value will be serialized and added to the end of the binding.



computeReshaperBinding
public UIParameter computeReshaperBinding(UIBound togenerate)(Code)



fixupNewValue
public void fixupNewValue(SubmittedValueEntry sve, RenderSystemDecoder rendersystemstatic, String key, String value)(Code)
Fixes up the supplied "new value" relative to information discovered in the fossilized binding. After this point, newvalue is authoritatively not null for every submission where a component which was marked as "expecting input" SHOULD be receiving data, and of the same type as oldvalue.

In the case of an already "erroneous fossilization" where oldvalue was itself empty/null, it is possible that no submission returns, and none is actually possible (e.g. selection controls which have no parent choices). In this case newvalue will remain null (semantically null rather than submittedly null).

Note that oldvalue is now always not null here.
Parameters:
  value - The value assigned to the fossilized binding




getReshaperKey
public String getReshaperKey(String componentid)(Code)



isFossilisedBinding
public boolean isFossilisedBinding(String key)(Code)
A utility method to determine whether a given key (from the request map) represents a Fossilised binding, i.e. it ends with the suffix FossilizedConverter.FOSSIL_SUFFIX .



isNonComponentBinding
public boolean isNonComponentBinding(String key)(Code)



parseBinding
public SubmittedValueEntry parseBinding(String key, String value)(Code)
Parse a "non-component binding" key/value pair *



parseFossil
public SubmittedValueEntry parseFossil(String key, String value)(Code)
Attempts to construct a SubmittedValueEntry on a key/value pair found in the request map, for which isFossilisedBinding has already returned true. In order to complete this (non-deletion) entry, the newvalue field must be set separately.
Parameters:
  key -
Parameters:
  value -



setSAXalXMLProvider
public void setSAXalXMLProvider(SAXalXMLProvider xmlprovider)(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.