|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dom4j.DocumentFactory
org.dom4j.util.NonLazyDocumentFactory
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.
Field Summary | |
protected static NonLazyDocumentFactory |
singleton
The Singleton instance |
Fields inherited from class org.dom4j.DocumentFactory |
cache |
Constructor Summary | |
NonLazyDocumentFactory()
|
Method Summary | |
Element |
createElement(QName qname)
|
static DocumentFactory |
getInstance()
Access to the singleton instance of this factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static transient NonLazyDocumentFactory singleton
Constructor Detail |
public NonLazyDocumentFactory()
Method Detail |
public static DocumentFactory getInstance()
Access to the singleton instance of this factory.
public Element createElement(QName qname)
createElement
in class DocumentFactory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |