Creating DOMImplementationLS Objects

  1. Use the feature "LS-Load" to find a DOMImplementation object that supports Load and Save.

  2. Cast the DOMImplementation object to DOMImplementationLS.

DOMImplementation impl 
 = DOMImplementationRegistry.getDOMImplementation("XML 1.0 LS-Load 3.0");
  if (impl != null) {
    DOMImplementationLS implls = (DOMImplementationLS) impl;
    // ...
  }

Previous | Next | Top | Cafe con Leche

Copyright 2000-2002 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified February 3, 2002