Package org.apache.wss4j.stax.ext
Class DocumentCreatorImpl
- java.lang.Object
-
- org.apache.wss4j.stax.ext.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.
-
-
Constructor Summary
Constructors Constructor Description DocumentCreatorImpl()
-
-
-
Constructor Detail
-
DocumentCreatorImpl
public DocumentCreatorImpl() throws ParserConfigurationException
- Throws:
ParserConfigurationException
-
-
Method Detail
-
newDocument
public Document newDocument() throws ParserConfigurationException
- Specified by:
newDocument
in interfaceDocumentCreator
- Throws:
ParserConfigurationException
-
-