org.w3c.dom.ls

  • The DOM Load and Save interfaces provide mechanisms for loading XML data into a DOM document and serializing a DOM document out as XML.

  • LSInput and LSOutput represent data sources and destinations, respectively, used in these load/save operations.

  • LSParser and LSSerializer handle the actual parsing of input sources into DOM trees and serialization of DOM trees into XML output.

  • LSParserFilter allows for application-specific examination of nodes during parsing, while LSResourceResolver aids in managing external resource references.

  • LSException signals potential errors during parsing or serialization processes.

Interfaces

DOMImplementationLS DOMImplementationLS contains the factory methods for creating Load and Save objects. 
LSInput This interface represents an input source for data. 
LSOutput This interface represents an output destination for data. 
LSParser An interface to an object that is able to build, or augment, a DOM tree from various input sources. 
LSParserFilter LSParserFilters provide applications the ability to examine nodes as they are being constructed while parsing. 
LSResourceResolver LSResourceResolver provides a way for applications to redirect references to external resources. 
LSSerializer A LSSerializer provides an API for serializing (writing) a DOM document out into XML. 

Exceptions

LSException Parser or write operations may throw an LSException if the processing is stopped.