Package | Description |
---|---|
org.w3c.dom.ls |
Modifier and Type | Method and 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. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b138