Class BeanMetaData
java.lang.Object
org.dom4j.bean.BeanMetaData
BeanMetaData contains metadata about a bean class.
- Version:
- $Revision: 1.10 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Class<?> The class of the beanprivate static final DocumentFactoryIndex of names and QNames to indices Keys are type of QName and Stringprotected static final Object[]Empty arguments for reflection callsprivate PropertyDescriptor[]Property descriptors for the beanprivate QName[]QNames for the attributesprivate Method[]Read methods used for getting propertiesprivate static Map<Class<?>, BeanMetaData> Singleton cacheprivate Method[]Write methods used for setting properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDOCUMENT ME!createAttributeList(BeanElement parent) static BeanMetaDataStatic helper method to find and cache meta data objects for bean typesintintgetQName(int index) protected voidvoid
-
Field Details
-
NULL_ARGS
Empty arguments for reflection calls -
singletonCache
Singleton cache -
DOCUMENT_FACTORY
-
beanClass
The class of the bean -
propertyDescriptors
Property descriptors for the bean -
qNames
QNames for the attributes -
readMethods
Read methods used for getting properties -
writeMethods
Write methods used for setting properties -
nameMap
-
-
Constructor Details
-
BeanMetaData
-
-
Method Details
-
get
Static helper method to find and cache meta data objects for bean types- Parameters:
beanClass- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
attributeCount
public int attributeCount()DOCUMENT ME!- Returns:
- the number of attribtutes for this bean type
-
createAttributeList
-
getQName
-
getIndex
-
getIndex
-
getData
-
setData
-
handleException
-