org.dom4j.bean
public class BeanElement extends DefaultElement
BeanElement
uses a Java Bean to store its attributes.
Version: $Revision: 1.15 $
Constructor Summary | |
---|---|
BeanElement(String name, Object bean) | |
BeanElement(String name, Namespace namespace, Object bean) | |
BeanElement(QName qname, Object bean) | |
BeanElement(QName qname) |
Method Summary | |
---|---|
Element | addAttribute(String name, String value) |
Element | addAttribute(QName qName, String value) |
Attribute | attribute(String name) |
Attribute | attribute(QName qname) |
protected List | createAttributeList()
A Factory Method pattern which lazily creates a List implementation used
to store content
|
protected List | createAttributeList(int size) |
protected BeanAttributeList | getBeanAttributeList() |
Object | getData()
DOCUMENT ME!
|
protected DocumentFactory | getDocumentFactory() |
void | setAttributes(List attributes) |
void | setAttributes(Attributes attributes, NamespaceStack namespaceStack, boolean noNamespaceAttributes) |
void | setData(Object data) |
Returns: DOCUMENT ME!
Returns: the JavaBean associated with this element