Use the feature "LS-Load" to find a
DOMImplementation
object that supports
Load and Save.
Cast the DOMImplementation
object to
DOMImplementationLS
.
DOMImplementation impl
= DOMImplementationRegistry.getDOMImplementation("XML 1.0 LS-Load 3.0");
if (impl != null) {
DOMImplementationLS implls = (DOMImplementationLS) impl;
// ...
}