org.tynamo.services
Class TynamoDataTypeAnalyzer
java.lang.Object
org.tynamo.services.TynamoDataTypeAnalyzer
- All Implemented Interfaces:
- org.apache.tapestry5.services.DataTypeAnalyzer
public class TynamoDataTypeAnalyzer
- extends Object
- implements org.apache.tapestry5.services.DataTypeAnalyzer
|
Method Summary |
String |
identifyDataType(org.apache.tapestry5.ioc.services.PropertyAdapter adapter)
The first data type identifier in the editorMap whose "key" evaluates to true for the descriptor will be used
to load an editor (or display) block for the descriptor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TynamoDataTypeAnalyzer
public TynamoDataTypeAnalyzer(DescriptorService descriptorService,
List<Pair> editorMap,
org.slf4j.Logger logger)
- Parameters:
descriptorService - editorMap - A map where the keys are OGNL expressions and the values are data type identifier used to select editor (or display) blocks
identifyDataType
public String identifyDataType(org.apache.tapestry5.ioc.services.PropertyAdapter adapter)
- The first data type identifier in the editorMap whose "key" evaluates to true for the descriptor will be used
to load an editor (or display) block for the descriptor. Returns null if no match is found.
- Specified by:
identifyDataType in interface org.apache.tapestry5.services.DataTypeAnalyzer
- Returns:
- returns the data type identifier, if known, or returns null if not known.
Copyright © 2004-2009. All Rights Reserved.