Class DocumentCreatorImpl

  • All Implemented Interfaces:
    DocumentCreator

    public class DocumentCreatorImpl
    extends Object
    implements DocumentCreator
    A default (inefficient) implementation of DocumentCreator which creates a new DocumentBuilderFactory implementation per-instance of this class. CXF instead uses a lambda to call the CXF DomUtils class to create a new document, which maintains a cache of DocumentBuilders keyed off the classloader.