| org.apache.commons.betwixt.digester.RuleSupport org.apache.commons.betwixt.digester.MappedPropertyRule
All known Subclasses: org.apache.commons.betwixt.digester.TextRule, org.apache.commons.betwixt.digester.ElementRule,
MappedPropertyRule | abstract public class MappedPropertyRule extends RuleSupport (Code) | | Factors out common code used by Betwixt rules that access bean properties.
Maybe a lot of this should be moved into BeanUtils .
author: Robert Burrell Donkin since: 0.5 |
MappedPropertyRule | public MappedPropertyRule()(Code) | | Base constructor
|
getPropertyDescriptor | protected PropertyDescriptor getPropertyDescriptor(Class beanClass, String propertyName)(Code) | | Returns the property descriptor for the class and property name.
Note that some caching could be used to improve performance of
this method. Or this method could be added to PropertyUtils.
Parameters: beanClass - descriptor for property in this class Parameters: propertyName - descriptor for property with this name property descriptor for the named property in the given class |
getPropertyType | protected Class getPropertyType(String propertyClassName, Class beanClass, String propertyName)(Code) | | Gets the type of a property
Parameters: propertyClassName - class name for property type (may be null) Parameters: beanClass - class that has property Parameters: propertyName - the name of the property whose type is to be determined property type |
|
|