com.opensymphony.xwork.util

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 » J2EE » webwork 2.2.6 » com.opensymphony.xwork.util 
com.opensymphony.xwork.util
Java Source File NameTypeComment
CompoundRoot.javaClass A Stack that is implemented using a List.
CompoundRootAccessor.javaClass A stack that is able to call methods on objects in the stack.
DefaultObjectTypeDeterminer.javaClass This ObjectTypeDeterminer looks at the Class-conversion.properties for entries that indicated what objects are contained within Maps and Collections.
DomHelper.javaClass Helper class to create and retrieve information from location-enabled DOM-trees.
InstantiatingNullHandler.javaClass Provided that the key InstantiatingNullHandler.CREATE_NULL_OBJECTS is in the action context with a value of true (this key is set only during the execution of the com.opensymphony.xwork.interceptor.ParametersInterceptor ), OGNL expressions that have caused a NullPointerException will be temporarily stopped for evaluation while the system automatically tries to solve the null references by automatically creating the object.

The following rules are used when handling null references:

  • If the property is declared exactly as a Collection or List , then an ArrayList shall be returned and assigned to the null references.
  • If the property is declared as a Map , then a HashMap will be returned and assigned to the null references.
  • If the null property is a simple bean with a no-arg constructor, it will simply be created using the ObjectFactory.buildBean(java.lang.Classjava.util.Map) method.
For example, if a form element has a text field named person.name and the expression person evaluates to null, then this class will be invoked.
LocalizedTextUtil.javaClass Provides support for localization in XWork. Resource bundles are searched in the following order:

  1. ActionClass.properties
  2. BaseClass.properties (all the way to Object.properties)
  3. Interface.properties (every interface and sub-interface)
  4. ModelDriven's model (if implements ModelDriven), for the model object repeat from 1
  5. package.properties (of the directory where class is located and every parent directory all the way to the root directory)
  6. search up the i18n message key hierarchy itself
  7. global resource properties (webwork.custom.i18n.resources) defined in webwork.properties

To clarify #5, while traversing the package hierarchy, WW will look for a file package.properties:

com/
  acme/
    package.properties
    actions/
      package.properties
      FooAction.java
      FooAction.properties

If FooAction.properties does not exist, com/acme/action/package.properties will be searched for, if not found com/acme/package.properties, if not found com/package.properties, etc.

A global resource bundle could be specified through the 'webwork.custom.i18n.resources' property in webwork.properties.

ObjectProxy.javaClass An Object to use within OGNL to proxy other Objects usually Collections that you set in a different place on the ValueStack but want to retain the context information about where they previously were.
ObjectProxyPropertyAccessor.javaClass Is able to access (set/get) properties on a given object.
ObjectTypeDeterminer.javaInterface Determines what the key and and element class of a Map or Collection should be.
ObjectTypeDeterminerFactory.javaClass Factory for getting an instance of ObjectTypeDeterminer .
OgnlContextState.javaClass Manages variables in the OgnlContext and returns values to be used by the application.
OgnlUtil.javaClass Utility class that provides common access to the Ognl APIs for setting and getting properties from objects (usually Actions).
OgnlValueStack.javaClass OgnlValueStack allows multiple beans to be pushed in and dynamic Ognl expressions to be evaluated against it.
TextParseUtil.javaClass Utility class for text parsing.
TypeConversionException.javaClass
XWorkBasicConverter.javaClass XWork will automatically handle the most common type conversion for you.

This includes support for converting to and from Strings for each of the following:

  • String
  • boolean / Boolean
  • char / Character
  • int / Integer, float / Float, long / Long, double / Double
  • dates - uses the SHORT or RFC3339 format (yyyy-MM-dd'T'HH:mm:ss) for the Locale associated with the current request
  • arrays - assuming the individual strings can be coverted to the individual items
  • collections - if not object type can be determined, it is assumed to be a String and a new ArrayList is created

Note: that with arrays the type conversion will defer to the type of the array elements and try to convert each item individually.

XWorkCollectionPropertyAccessor.javaClass
XWorkContinuationConfig.javaClass RIFE Continuation configuration.
XWorkConverter.javaClass XWorkConverter is a singleton used by many of the WebWork's Ognl extention points, such as InstantiatingNullHandler, XWorkListPropertyAccessor etc to do object conversion. Type conversion is great for situations where you need to turn a String in to a more complex object.
XWorkEnumerationAcccessor.javaClass
XWorkIteratorPropertyAccessor.javaClass
XWorkList.javaClass A simple list that guarantees that inserting and retrieving objects will always work regardless of the current size of the list.
XWorkListPropertyAccessor.javaClass Overrides the list property accessor so in the case of trying to add properties of a given bean and the JavaBean is not present, this class will create the necessary blank JavaBeans.
XWorkMap.javaClass A simple map that guarantees that retrieving objects will never return null and insertions will perform type conversion if necessary.
XWorkMapPropertyAccessor.javaClass Implementation of PropertyAccessor that sets and gets properties by storing and looking up values in Maps.
XWorkMethodAccessor.javaClass Allows methods to be executed under normal cirumstances, except when XWorkMethodAccessor.DENY_METHOD_EXECUTION is in the action context with a value of true.
XWorkObjectPropertyAccessor.javaClass
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.