public abstract class MappedPropertyRule extends RuleSupport
Factors out common code used by Betwixt rules that access bean properties.
Maybe a lot of this should be moved into BeanUtils.
| Constructor and Description |
|---|
MappedPropertyRule()
Base constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected PropertyDescriptor |
getPropertyDescriptor(Class beanClass,
String propertyName)
Returns the property descriptor for the class and property name.
|
protected Class |
getPropertyType(String propertyClassName,
Class beanClass,
String propertyName)
Gets the type of a property
|
getBeanClass, getProcessedPropertyNameSet, getXMLInfoDigester, getXMLIntrospector, loadClassprotected PropertyDescriptor getPropertyDescriptor(Class beanClass, String propertyName)
beanClass - descriptor for property in this classpropertyName - descriptor for property with this nameprotected Class getPropertyType(String propertyClassName, Class beanClass, String propertyName)
propertyClassName - class name for property type (may be null)beanClass - class that has propertypropertyName - the name of the property whose type is to be determinedCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.