Java Doc for XmlField.java in » Web-Framework » TURBINE » org » apache » turbine » services » intake » xmlmodel » 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.xmlmodel
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.apache.turbine.services.intake.xmlmodel
.XmlField
XmlField
public
class XmlField implements
Serializable
(Code)
A Class for holding data about a property used in an Application.
author:
John McNally
author:
Henning P. Schmiedehausen
author:
Quinton McCombs
author:
Thomas Vandahl
version:
$Id: XmlField.java 534527 2007-05-02 16:10:59Z tv $
Constructor Summary
public
XmlField
()
public
XmlField
(
String
name)
Method Summary
public
Rule
addRule
(
Attributes
attrib)
A utility function to create a new input parameter from attrib and add it to this property.
public
void
addRule
(
Rule
rule)
public
String
getDefaultValue
()
Get the default Value.
public
String
getDisplayName
()
public
String
getDisplaySize
()
Gets the display size of the field.
public
String
getEmptyValue
()
Get the empty Value.
public
String
getFieldClass
()
Get the value of fieldClass.
public
XmlGroup
getGroup
()
public
String
getIfRequiredMessage
()
Get the value of ifRequiredMessage.
public
String
getKey
()
public
String
getMapToObject
()
public
String
getMapToProperty
()
public
String
getName
()
public
String
getRawName
()
public
Map
getRuleMap
()
The collection of rules for this field keyed by parameter name.
public
List
getRules
()
The collection of rules for this field.
public
String
getType
()
public
String
getValidator
()
public
String
getVariable
()
The name of the field making sure the first letter is lowercase.
public
boolean
isMultiValued
()
public
void
loadFromXML
(
Attributes
attrib)
public
void
setDefaultValue
(
String
prop)
Set the default Value.
public
void
setDisplayName
(
String
newDisplayName)
public
void
setEmptyValue
(
String
prop)
Set the empty Value.
public
void
setFieldClass
(
String
v)
Set the value of fieldClass.
public
void
setGroup
(
XmlGroup
parent)
public
void
setIfRequiredMessage
(
String
v)
Set the value of ifRequiredMessage.
public
void
setKey
(
String
newKey)
public
void
setMapToObject
(
String
objectName)
public
void
setMapToProperty
(
String
prop)
public
void
setMultiValued
(
String
newMultiValued)
public
void
setName
(
String
newName)
public
void
setType
(
String
newType)
public
void
setValidator
(
String
prop)
public
String
toString
()
String representation of the column.
Constructor Detail
XmlField
public
XmlField()
(Code)
Default Constructor
XmlField
public
XmlField(
String
name)
(Code)
Creates a new column and set the name
Method Detail
addRule
public
Rule
addRule(
Attributes
attrib)
(Code)
A utility function to create a new input parameter from attrib and add it to this property.
addRule
public
void addRule(
Rule
rule)
(Code)
Adds a new rule to the parameter Map and set the parent property of the Rule to this property
getDefaultValue
public
String
getDefaultValue()
(Code)
Get the default Value. The default value for this field.
getDisplayName
public
String
getDisplayName()
(Code)
Get the display name of the property
getDisplaySize
public
String
getDisplaySize()
(Code)
Gets the display size of the field. This is useful for constructing the HTML input tag.
getEmptyValue
public
String
getEmptyValue()
(Code)
Get the empty Value. The empty value for this field.
getFieldClass
public
String
getFieldClass()
(Code)
Get the value of fieldClass. value of fieldClass.
getGroup
public
XmlGroup
getGroup()
(Code)
Get the parent XmlGroup of the property
getIfRequiredMessage
public
String
getIfRequiredMessage()
(Code)
Get the value of ifRequiredMessage. value of ifRequiredMessage.
getKey
public
String
getKey()
(Code)
Get the parameter key of the property
getMapToObject
public
String
getMapToObject()
(Code)
Get the name of the object that takes this input
getMapToProperty
public
String
getMapToProperty()
(Code)
Get the property method that takes this input
getName
public
String
getName()
(Code)
Get the name of the property
getRawName
public
String
getRawName()
(Code)
Get the name of the property
getRuleMap
public
Map
getRuleMap()
(Code)
The collection of rules for this field keyed by parameter name. a
Map
value
getRules
public
List
getRules()
(Code)
The collection of rules for this field. a
List
value
getType
public
String
getType()
(Code)
Get the type of the property
getValidator
public
String
getValidator()
(Code)
Get the className of the validator
getVariable
public
String
getVariable()
(Code)
The name of the field making sure the first letter is lowercase. a
String
value
isMultiValued
public
boolean isMultiValued()
(Code)
can this field have several values?
loadFromXML
public
void loadFromXML(
Attributes
attrib)
(Code)
Imports a column from an XML specification
setDefaultValue
public
void setDefaultValue(
String
prop)
(Code)
Set the default Value.
Parameters:
prop - The parameter to use as default value.
setDisplayName
public
void setDisplayName(
String
newDisplayName)
(Code)
Set the display name of the property
setEmptyValue
public
void setEmptyValue(
String
prop)
(Code)
Set the empty Value.
Parameters:
prop - The parameter to use as empty value.
setFieldClass
public
void setFieldClass(
String
v)
(Code)
Set the value of fieldClass.
Parameters:
v - Value to assign to fieldClass.
setGroup
public
void setGroup(
XmlGroup
parent)
(Code)
Set the parent XmlGroup of the property
setIfRequiredMessage
public
void setIfRequiredMessage(
String
v)
(Code)
Set the value of ifRequiredMessage.
Parameters:
v - Value to assign to ifRequiredMessage.
setKey
public
void setKey(
String
newKey)
(Code)
Set the parameter key of the property
setMapToObject
public
void setMapToObject(
String
objectName)
(Code)
Set the name of the object that takes this input
Parameters:
objectName - name of the class.
setMapToProperty
public
void setMapToProperty(
String
prop)
(Code)
Set the property method that takes this input
Parameters:
prop - Name of the property to which the field will be mapped.
setMultiValued
public
void setMultiValued(
String
newMultiValued)
(Code)
Set whether this class can have multiple values
setName
public
void setName(
String
newName)
(Code)
Set the name of the property
setType
public
void setType(
String
newType)
(Code)
Set the type of the property
setValidator
public
void setValidator(
String
prop)
(Code)
Set the class name of the validator
toString
public
String
toString()
(Code)
String representation of the column. This is an xml representation.
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.