|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataTypeAnalyzer
Used by BeanModelSource to identify the type of data associated with a particular property (represented as a
PropertyAdapter). The data type is a string used to determine what kind of interface to use for displaying
the value of the property, or what kind of interface to use for editing the value of the property. Common property
types are "text", "enum", "checkbox", but the list is extensible.
Different strategies for identifying the data type are encapsulated in the DataTypeAnalyzer service, forming a chain of command.
Grid,
BeanEditForm,
BeanBlockSource,
TapestryModule.contributeDataTypeAnalyzer(org.apache.tapestry.ioc.OrderedConfiguration,
DataTypeAnalyzer)| Method Summary | |
|---|---|
String |
identifyDataType(PropertyAdapter adapter)
Identifies the data type, if known, or returns null if not known. |
| Method Detail |
|---|
String identifyDataType(PropertyAdapter adapter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||