Class BeanDocumentFactory
java.lang.Object
org.dom4j.DocumentFactory
org.dom4j.bean.BeanDocumentFactory
- All Implemented Interfaces:
Serializable
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.
- Version:
- $Revision: 1.14 $
- Author:
- James Strachan
- See Also:
-
Field Summary
Fields inherited from class DocumentFactory
cache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAttribute(Element owner, QName qname, String value) protected ObjectcreateBean(QName qname) protected ObjectcreateBean(QName qname, Attributes attributes) createElement(QName qname) createElement(QName qname, Attributes attributes) static DocumentFactoryAccess to the singleton instance of this factory.protected voidMethods inherited from class DocumentFactory
createAttribute, createCDATA, createComment, createDocType, createDocument, createDocument, createDocument, createElement, createElement, createEntity, createNamespace, createPattern, createProcessingInstruction, createProcessingInstruction, createQName, createQName, createQName, createQName, createQNameCache, createSingleton, createText, createXPath, createXPath, createXPathFilter, createXPathFilter, getQNames, getXPathNamespaceURIs, init, intern, setXPathNamespaceURIs
-
Constructor Details
-
BeanDocumentFactory
public BeanDocumentFactory()
-
-
Method Details
-
getInstance
Access to the singleton instance of this factory.
- Returns:
- the default singleon instance
-
createElement
- Overrides:
createElementin classDocumentFactory
-
createElement
-
createAttribute
- Overrides:
createAttributein classDocumentFactory
-
createBean
-
createBean
-
handleException
-