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