|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.digester.Rule
org.apache.commons.betwixt.digester.RuleSupport
org.apache.commons.betwixt.digester.MappedPropertyRule
public abstract class MappedPropertyRule
Factors out common code used by Betwixt rules that access bean properties.
Maybe a lot of this should be moved into BeanUtils.
| Field Summary | |
|---|---|
private java.lang.ClassLoader |
classLoader
Classloader used to load classes by name |
private static org.apache.commons.logging.Log |
log
Logger |
| Fields inherited from class org.apache.commons.digester.Rule |
|---|
digester, namespaceURI |
| Constructor Summary | |
|---|---|
MappedPropertyRule()
Base constructor |
|
| Method Summary | |
|---|---|
protected java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.Class beanClass,
java.lang.String propertyName)
Returns the property descriptor for the class and property name. |
protected java.lang.Class |
getPropertyType(java.lang.String propertyClassName,
java.lang.Class beanClass,
java.lang.String propertyName)
Gets the type of a property |
| Methods inherited from class org.apache.commons.betwixt.digester.RuleSupport |
|---|
getBeanClass, getProcessedPropertyNameSet, getXMLInfoDigester, getXMLIntrospector |
| Methods inherited from class org.apache.commons.digester.Rule |
|---|
begin, begin, body, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final org.apache.commons.logging.Log log
private java.lang.ClassLoader classLoader
| Constructor Detail |
|---|
public MappedPropertyRule()
| Method Detail |
|---|
protected java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.Class beanClass,
java.lang.String propertyName)
beanClass - descriptor for property in this classpropertyName - descriptor for property with this name
protected java.lang.Class getPropertyType(java.lang.String propertyClassName,
java.lang.Class beanClass,
java.lang.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 determined
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||