| 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
  LSInputand insert the content into an existing document
 at the position specified with thecontextandactionarguments. | 
| boolean | LSSerializer. write(Node nodeArg,
     LSOutput destination)Serialize the specified node as described above in the general
 description of the  LSSerializerinterface. | 
| String | LSSerializer. writeToString(Node nodeArg)Serialize the specified node as described above in the general
 description of the  LSSerializerinterface. | 
| boolean | LSSerializer. writeToURI(Node nodeArg,
          String uri)A convenience method that acts as if  LSSerializer.writewas called with aLSOutputwith no encoding specified
 andLSOutput.systemIdset to theuriargument. | 
 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
 Copyright © 2005, 2025, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.