# Uses of Class
org.w3c.dom.ls.LSException

Packages that use LSException
Package
Description
org.w3c.dom.ls
Provides interfaces for DOM Level 3 Load and Save.

- ## Uses of LSException in org.w3c.dom.ls

  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.