Class NonLazyDocumentFactory

  • All Implemented Interfaces:
    java.io.Serializable

    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 $
    Author:
    James Strachan
    See Also:
    Serialized Form
    • Constructor Detail

      • NonLazyDocumentFactory

        public NonLazyDocumentFactory()