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.
| Modifier and Type | Field and Description |
|---|---|
| protected static transient NonLazyDocumentFactory | singleton
The Singleton instance
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Element | |
| public static DocumentFactory | Returns: the default singleon instanceHides org. Access to the singleton instance of this factory. |
| singleton | back to summary |
|---|---|
| protected static transient NonLazyDocumentFactory singleton Hides org. The Singleton instance | |
| NonLazyDocumentFactory | back to summary |
|---|---|
| public NonLazyDocumentFactory() | |
| createElement | back to summary |
|---|---|
| public Element createElement(QName qname) Overrides org. | |
| getInstance | back to summary |
|---|---|
| public static DocumentFactory getInstance() Hides org. Access to the singleton instance of this factory.
| |