BeanDocumentFactory is a factory of DOM4J objects which may be
BeanElements which are backed by JavaBeans and their properties.
The tree built allows full XPath expressions from anywhere on the tree.
| Modifier and Type | Field and Description |
|---|---|
| private static BeanDocumentFactory | singleton
The Singleton instance
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Attribute | createAttribute(Element owner, QName qname, String value)
Overrides org. |
| protected Object | |
| protected Object | |
| public Element | |
| public Element | |
| public static DocumentFactory | Returns: the default singleon instanceHides org. Access to the singleton instance of this factory. |
| protected void |
| singleton | back to summary |
|---|---|
| private static BeanDocumentFactory singleton Hides org. The Singleton instance | |
| BeanDocumentFactory | back to summary |
|---|---|
| public BeanDocumentFactory() | |
| createAttribute | back to summary |
|---|---|
| public Attribute createAttribute(Element owner, QName qname, String value) Overrides org. | |
| createBean | back to summary |
|---|---|
| protected Object createBean(QName qname) | |
| createBean | back to summary |
|---|---|
| protected Object createBean(QName qname, Attributes attributes) | |
| createElement | back to summary |
|---|---|
| public Element createElement(QName qname) Overrides org. | |
| createElement | back to summary |
|---|---|
| public Element createElement(QName qname, Attributes attributes) | |
| getInstance | back to summary |
|---|---|
| public static DocumentFactory getInstance() Hides org. Access to the singleton instance of this factory.
| |
| handleException | back to summary |
|---|---|
| protected void handleException(Exception e) | |