JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Methods in org.w3c.dom.ls that throw LSException
Modifier and Type
Method
Description
Document
LSParser. parse (LSInput input)
Parse an XML document from a resource identified by a
LSInput
.
Document
LSParser. parseURI (String uri)
Parse an XML document from a location identified by a URI reference
[
IETF RFC 2396 ].
Node
LSParser. parseWithContext (LSInput input,
Node contextArg,
short action)
Parse an XML fragment from a resource identified by a
LSInput
and insert the content into an existing document
at the position specified with the context
and
action
arguments.
boolean
LSSerializer. write (Node nodeArg,
LSOutput destination)
Serialize the specified node as described above in the general
description of the LSSerializer
interface.
String
LSSerializer. writeToString (Node nodeArg)
Serialize the specified node as described above in the general
description of the LSSerializer
interface.
boolean
LSSerializer. writeToURI (Node nodeArg,
String uri)
A convenience method that acts as if LSSerializer.write
was called with a LSOutput
with no encoding specified
and LSOutput.systemId
set to the uri
argument.
JavaScript is disabled on your browser.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2024, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.