public class BeanUtils extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
static Object[] |
noArgs |
Constructor and Description |
---|
BeanUtils() |
Modifier and Type | Method and Description |
---|---|
static BeanPropertyDescriptor |
getAnyContentPD(Class javaType) |
static Vector |
getBeanAttributes(Class javaType,
TypeDesc typeDesc)
Return a list of properties in the bean which should be attributes
|
static BeanPropertyDescriptor[] |
getPd(Class javaType)
Create a BeanPropertyDescriptor array for the indicated class.
|
static BeanPropertyDescriptor[] |
getPd(Class javaType,
TypeDesc typeDesc)
Create a BeanPropertyDescriptor array for the indicated class.
|
static BeanPropertyDescriptor |
getSpecificPD(BeanPropertyDescriptor[] pds,
String name) |
static BeanPropertyDescriptor |
getSpecificPD(PropertyDescriptor[] pds,
String name) |
static BeanPropertyDescriptor[] |
processPropertyDescriptors(PropertyDescriptor[] rawPd,
Class cls)
This method attempts to sort the property descriptors using
the typeDesc and order defined in the class.
|
static BeanPropertyDescriptor[] |
processPropertyDescriptors(PropertyDescriptor[] rawPd,
Class cls,
TypeDesc typeDesc) |
public static final Object[] noArgs
protected static org.apache.commons.logging.Log log
public static BeanPropertyDescriptor[] getPd(Class javaType)
javaType
- public static BeanPropertyDescriptor[] getPd(Class javaType, TypeDesc typeDesc)
javaType
- typeDesc
- public static Vector getBeanAttributes(Class javaType, TypeDesc typeDesc)
public static BeanPropertyDescriptor[] processPropertyDescriptors(PropertyDescriptor[] rawPd, Class cls)
public static BeanPropertyDescriptor[] processPropertyDescriptors(PropertyDescriptor[] rawPd, Class cls, TypeDesc typeDesc)
public static BeanPropertyDescriptor getAnyContentPD(Class javaType)
public static BeanPropertyDescriptor getSpecificPD(PropertyDescriptor[] pds, String name)
public static BeanPropertyDescriptor getSpecificPD(BeanPropertyDescriptor[] pds, String name)
Copyright © The Apache Software Foundation. All Rights Reserved.