Package org.dom4j.bean
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 DocumentFactory
Index 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 TypeMethodDescriptionint
DOCUMENT ME!createAttributeList
(BeanElement parent) static BeanMetaData
Static helper method to find and cache meta data objects for bean typesint
int
getQName
(int index) protected void
void
-
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
Index of names and QNames to indices Keys are type of QName and String
-
-
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
-