org.dom4j.util
public class NonLazyDocumentFactory extends DocumentFactory
NonLazyDocumentFactory
is a factory of XML objects which avoid
using the lazy creation pattern. This results in a slower creation of a
Document and uses more memory but it means that the same Document instance
can be shared across threads provided it is not modified.
Version: $Revision: 1.9 $
Field Summary | |
---|---|
protected static NonLazyDocumentFactory | singleton The Singleton instance |
Method Summary | |
---|---|
Element | createElement(QName qname) |
static DocumentFactory | getInstance() Access to the singleton instance of this factory. |
Access to the singleton instance of this factory.
Returns: the default singleon instance