| 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 
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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.