Java Doc for DoubleField.java in  » Web-Framework » TURBINE » org » apache » turbine » services » intake » model » 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 » TURBINE » org.apache.turbine.services.intake.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.turbine.services.intake.model.Field
      org.apache.turbine.services.intake.model.AbstractNumberField
         org.apache.turbine.services.intake.model.DoubleField

DoubleField
public class DoubleField extends AbstractNumberField (Code)
Creates Double Field objects.
author:
   Quinton McCombs
version:
   $Id: DoubleField.java 534527 2007-05-02 16:10:59Z tv $



Constructor Summary
public  DoubleField(XmlField field, Group group)
     Constructor.

Method Summary
protected  voiddoSetValue()
     Sets the value of the field from data in the parser.
protected  StringgetDefaultValidator()
     A suitable validator.
protected  ObjectgetSafeEmptyValue()
     Provides access to emptyValue such that the value returned will be acceptable as an argument parameter to Method.invoke.
public  voidsetDefaultValue(String prop)
    
public  voidsetEmptyValue(String prop)
     Set the empty Value.


Constructor Detail
DoubleField
public DoubleField(XmlField field, Group group) throws IntakeException(Code)
Constructor.
Parameters:
  field - xml field definition object
Parameters:
  group - xml group definition object
throws:
  IntakeException - thrown by superclass




Method Detail
doSetValue
protected void doSetValue()(Code)
Sets the value of the field from data in the parser.



getDefaultValidator
protected String getDefaultValidator()(Code)
A suitable validator. A suitable validator



getSafeEmptyValue
protected Object getSafeEmptyValue()(Code)
Provides access to emptyValue such that the value returned will be acceptable as an argument parameter to Method.invoke. Subclasses that deal with primitive types should ensure that they return an appropriate value wrapped in the object wrapper class for the primitive type. the value to use when the field is empty or an Object thatwraps the empty value for primitive types.



setDefaultValue
public void setDefaultValue(String prop)(Code)
Sets the default value for a Double Field
Parameters:
  prop - Parameter for the default values



setEmptyValue
public void setEmptyValue(String prop)(Code)
Set the empty Value. This value is used if Intake maps a field to a parameter returned by the user and the corresponding field is either empty (empty string) or non-existant.
Parameters:
  prop - The value to use if the field is empty.



Methods inherited from org.apache.turbine.services.intake.model.AbstractNumberField
final protected String canonicalizeDecimalInput(String number)(Code)(Java Doc)

Fields inherited from org.apache.turbine.services.intake.model.Field
protected boolean alwaysRequired(Code)(Java Doc)
final public static String defaultFieldPackage(Code)(Java Doc)
final public static String defaultValidatorPackage(Code)(Java Doc)
protected Object defaultValue(Code)(Java Doc)
protected String displayName(Code)(Java Doc)
protected Object emptyValue(Code)(Java Doc)
final protected Method getter(Code)(Java Doc)
final protected Group group(Code)(Java Doc)
protected String ifRequiredMessage(Code)(Java Doc)
protected boolean initialized(Code)(Java Doc)
protected boolean isDebugEnabled(Code)(Java Doc)
final protected boolean isMultiValued(Code)(Java Doc)
final protected String key(Code)(Java Doc)
protected Log log(Code)(Java Doc)
final protected String mapToObject(Code)(Java Doc)
protected String message(Code)(Java Doc)
final protected String name(Code)(Java Doc)
protected Object onError(Code)(Java Doc)
protected ValueParser parser(Code)(Java Doc)
protected boolean required(Code)(Java Doc)
protected Retrievable retrievable(Code)(Java Doc)
protected boolean setFlag(Code)(Java Doc)
final protected Method setter(Code)(Java Doc)
protected boolean validFlag(Code)(Java Doc)
protected boolean validated(Code)(Java Doc)
protected Validator validator(Code)(Java Doc)

Methods inherited from org.apache.turbine.services.intake.model.Field
public void dispose()(Code)(Java Doc)
protected void doSetValue(ValueParser pp)(Code)(Java Doc)
abstract protected void doSetValue()(Code)(Java Doc)
public void getDefault()(Code)(Java Doc)
protected String getDefaultValidator()(Code)(Java Doc)
public Object getDefaultValue()(Code)(Java Doc)
public String getDisplayName()(Code)(Java Doc)
public String getDisplaySize()(Code)(Java Doc)
public Object getEmptyValue()(Code)(Java Doc)
public Group getGroup()(Code)(Java Doc)
public String getHTMLString()(Code)(Java Doc)
public Object getInitialValue() throws IntakeException(Code)(Java Doc)
public String getKey()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public String getMaxSize()(Code)(Java Doc)
public String getMessage()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public void getProperty(Object obj) throws IntakeException(Code)(Java Doc)
protected Object getSafeEmptyValue()(Code)(Java Doc)
public String getStringValue()(Code)(Java Doc)
public Object getTestValue()(Code)(Java Doc)
public Validator getValidator()(Code)(Java Doc)
public Object getValue()(Code)(Java Doc)
public String getValueIfAbsent()(Code)(Java Doc)
public Field init(ValueParser pp) throws IntakeException(Code)(Java Doc)
public Field init(Retrievable obj)(Code)(Java Doc)
public boolean isMultiValued()(Code)(Java Doc)
public boolean isRequired()(Code)(Java Doc)
public boolean isSet()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public boolean isValidated()(Code)(Java Doc)
public void removeFromRequest()(Code)(Java Doc)
abstract public void setDefaultValue(String prop)(Code)(Java Doc)
public void setDisplayName(String newDisplayName)(Code)(Java Doc)
abstract public void setEmptyValue(String prop)(Code)(Java Doc)
void setInitialValue(Object obj)(Code)(Java Doc)
public void setMessage(String message)(Code)(Java Doc)
public void setProperty(Object obj) throws IntakeException(Code)(Java Doc)
public void setRequired(boolean v)(Code)(Java Doc)
public void setRequired(boolean v, String message)(Code)(Java Doc)
void setTestValue(Object obj)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
protected boolean validate(ValueParser pp)(Code)(Java Doc)
public boolean validate()(Code)(Java Doc)

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.