java.lang.Object
io.jenetics.jpx.XMLProvider
A
ServiceLoader for managing XML factories used by the library.
Custom implementation should be referenced in a
META-INF/services/io.jenetics.jpx.XMLProvider file.- Since:
- 1.7
- Version:
- 1.7
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidclear()Clear current spi to allow hot reloading a new one...Returns theDocumentBuilderFactoryused for handling extensions documentsstatic XMLProviderprovider()Return an instance of the currentXMLProvider.ReturnsXMLInputFactoryto be used for reading files.ReturnsXMLOutputFactoryto be used for writing files.
-
Constructor Details
-
XMLProvider
protected XMLProvider()
-
-
Method Details
-
xmlInputFactory
ReturnsXMLInputFactoryto be used for reading files.- Returns:
- the xml input factory
-
xmlOutputFactory
ReturnsXMLOutputFactoryto be used for writing files.- Returns:
- the xml output factory
-
documentBuilderFactory
Returns theDocumentBuilderFactoryused for handling extensions documents- Returns:
- the document builder factory
-
provider
Return an instance of the currentXMLProvider.- Returns:
- an instance of the current
XMLProvider
-
clear
Clear current spi to allow hot reloading a new one...
-