com.opensymphony.xwork.validator.validators

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.validator.validators 
com.opensymphony.xwork.validator.validators
Java Source File NameTypeComment
AbstractRangeValidator.javaClass Base class for range based validators.
CollectionFieldValidator.javaClass Validate a property available in the object of a collection.
ConversionErrorFieldValidator.javaClass Field Validator that checks if a conversion error occured for this field.

  • fieldName - The field name this validator is validating.
DateRangeFieldValidator.javaClass Field Validator that checks if the date supplied is within a specific range. NOTE: If no date converter is specified, XWorkBasicConverter will kick in to do the date conversion, which by default using the Date.SHORT format using the locale specified in webwork.properties else falling back to the system default locale.

  • fieldName - The field name this validator is validating.
DoubleRangeFieldValidator.javaClass Field Validator that checks if the double specified is within a certain range.
  • fieldName - The field name this validator is validating.
EmailValidator.javaClass EmailValidator checks that a given String field, if not empty, is a valid email address.

The regular expression used to validate that the string is an email address is:

 \\b(^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@([A-Za-z0-9-])+((\\.com)|(\\.net)|(\\.org)|(\\.info)|(\\.edu)|(\\.mil)|(\\.gov)|(\\.biz)|(\\.ws)|(\\.us)|(\\.tv)|(\\.cc)|(\\.aero)|(\\.arpa)|(\\.coop)|(\\.int)|(\\.jobs)|(\\.museum)|(\\.name)|(\\.pro)|(\\.travel)|(\\.nato)|(\\..{2,3})|(\\..{2,3}\\..{2,3}))$)\\b
 
  • fieldName - The field name this validator is validating.
ExpressionValidator.javaClass A Non-Field Level validator that validates based on regular expression supplied.

  • expression - the Ognl expression to be evaluated against the stack (Must evaluate to a Boolean)
 
 <validators>
 <validator type="expression">
 <param name="expression"> ....
FieldExpressionValidator.javaClass Validates a field using an OGNL expression.

  • fieldName - The field name this validator is validating.
FieldValidatorSupport.javaClass Base class for field validators.
IntRangeFieldValidator.javaClass Field Validator that checks if the integer specified is within a certain range.
  • fieldName - The field name this validator is validating.
RegexFieldValidator.javaClass Validates a string field using a regular expression.

  • fieldName - The field name this validator is validating.
RepopulateConversionErrorFieldValidatorSupport.javaClass An abstract base class that adds in the capability to populate the stack with a fake parameter map when a conversion error has occurred and the 'repopulateField' property is set to "true".

The capability of auto-repopulating the stack with a fake parameter map when a conversion error has occurred can be done with 'repopulateField' property set to "true".

RequiredFieldValidator.javaClass RequiredFieldValidator checks if the specified field is not null.
RequiredStringValidator.javaClass RequiredStringValidator checks that a String field is non-null and has a length > 0. (i.e.
StringLengthFieldValidator.javaClass StringLengthFieldValidator checks that a String field is of a certain length.
URLValidator.javaClass URLValidator checks that a given field is a String and a valid URL

  • fieldName - The field name this validator is validating.
ValidatorSupport.javaClass Abstract implementation of the Validator interface suitable for subclassing.
VisitorFieldValidator.javaClass The VisitorFieldValidator allows you to forward validation to object properties of your action using the object's own validation files.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.