| java.lang.Object uk.org.ponder.mapping.DataConverter
DataConverter | public class DataConverter (Code) | | Declaration of a policy on data conversion, applicable by the
DARApplier for incoming requests, as well as for calls to
DARApplier#getFlattenedValue(String, Object, Class, uk.org.ponder.beanutil.BeanResolver).Note that this is somewhat similar to the Spring structure PropertyEditorRegistry,but has slightly different semantics, as well as accepting other forms ofconverters than PropertyEditors. author: Antranig Basman (amb26@ponder.org.uk) |
setConverter | public void setConverter(Object converter)(Code) | | Some Object which can be converted to a DARReshaper or BeanResolver -
supported are PropertyEditor and LeafObjectParser.
Parameters: converter - |
setConverterEL | public void setConverterEL(String converterEL)(Code) | | An EL path from which the converter can be fetched *
|
setTargetClass | public void setTargetClass(Class targetClass)(Code) | | If set, the converter will apply to all classes of the specified type
targetted within the model. At least one of this property and
DataConverter.setTargetPath(String) must be set.
If they are both set, the interpretation of targetPath is of a
relative path to any instance of the specified class discovered.
|
setTargetPath | public void setTargetPath(String targetPath)(Code) | | If set, the converter will apply to beans at the specified path
expression which are targetted within the model. This path expression
may contain wildcard segments such as .*.
Parameters: targetPath - |
|
|