DOMImplementationLSpublic interface DOMImplementationLS DOMImplementationLS contains the factory methods for creating
Load and Save objects.
The expectation is that an instance of the
DOMImplementationLS interface can be obtained by using
binding-specific casting methods on an instance of the
DOMImplementation interface or, if the Document
supports the feature "Core" version "3.0"
defined in [DOM Level 3 Core]
, by using the method DOMImplementation.getFeature with
parameter values "LS" (or "LS-Async" ) and
"3.0" (respectively).
See also the Document Object Model (DOM) Level 3 Load
and Save Specification. |
Fields Summary |
---|
public static final short | MODE_SYNCHRONOUSCreate a synchronous LSParser . | public static final short | MODE_ASYNCHRONOUSCreate an asynchronous LSParser . |
Methods Summary |
---|
public org.w3c.dom.ls.LSInput | createLSInput()Create a new empty input source object where
LSInput.characterStream , LSInput.byteStream
, LSInput.stringData LSInput.systemId ,
LSInput.publicId , LSInput.baseURI , and
LSInput.encoding are null, and
LSInput.certifiedText is false.
| public org.w3c.dom.ls.LSOutput | createLSOutput()Create a new empty output destination object where
LSOutput.characterStream ,
LSOutput.byteStream , LSOutput.systemId ,
LSOutput.encoding are null.
| public org.w3c.dom.ls.LSParser | createLSParser(short mode, java.lang.String schemaType)Create a new LSParser . The newly constructed parser may
then be configured by means of its DOMConfiguration
object, and used to parse documents by means of its parse
method.
| public org.w3c.dom.ls.LSSerializer | createLSSerializer()Create a new LSSerializer object.
|
|