public class BeanMetaData
extends java.lang.Object
BeanMetaData
contains metadata about a bean class.
Modifier and Type | Field | Description |
---|---|---|
protected static java.lang.Object[] |
NULL_ARGS |
Empty arguments for reflection calls
|
Constructor | Description |
---|---|
BeanMetaData(java.lang.Class<?> beanClass) |
Modifier and Type | Method | Description |
---|---|---|
int |
attributeCount() |
DOCUMENT ME!
|
BeanAttributeList |
createAttributeList(BeanElement parent) |
|
static BeanMetaData |
get(java.lang.Class<?> beanClass) |
Static helper method to find and cache meta data objects for bean types
|
java.lang.Object |
getData(int index,
java.lang.Object bean) |
|
int |
getIndex(java.lang.String name) |
|
int |
getIndex(QName qName) |
|
QName |
getQName(int index) |
|
protected void |
handleException(java.lang.Exception e) |
|
void |
setData(int index,
java.lang.Object bean,
java.lang.Object data) |
protected static final java.lang.Object[] NULL_ARGS
public static BeanMetaData get(java.lang.Class<?> beanClass)
beanClass
- DOCUMENT ME!public int attributeCount()
public BeanAttributeList createAttributeList(BeanElement parent)
public QName getQName(int index)
public int getIndex(java.lang.String name)
public int getIndex(QName qName)
public java.lang.Object getData(int index, java.lang.Object bean)
public void setData(int index, java.lang.Object bean, java.lang.Object data)
protected void handleException(java.lang.Exception e)