Class NonLazyDocumentFactory

  • All Implemented Interfaces:
    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.

    See Also:
    Serialized Form
    • Constructor Detail

      • NonLazyDocumentFactory

        public NonLazyDocumentFactory()