## Uses of Interface
javax.xml.transform.SourceLocator

Packages that use SourceLocator
javax.xml.transform: This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.
javax.xml.transform.dom: This package implements DOM-specific transformation APIs.

### Uses of SourceLocator in javax.xml.transform

Methods in javax.xml.transform that return SourceLocator
`SourceLocator` TransformerException.`getLocator()` Method getLocator retrieves an instance of a SourceLocator object that specifies where an error occured.

Methods in javax.xml.transform with parameters of type SourceLocator
`void` TransformerException.`setLocator(SourceLocator location)` Method setLocator sets an instance of a SourceLocator object that specifies where an error occured.

Constructors in javax.xml.transform with parameters of type SourceLocator
Constructor and Description
`TransformerConfigurationException(String message, SourceLocator locator)` Create a new TransformerConfigurationException from a message and a Locator.
`TransformerConfigurationException(String message, SourceLocator locator, Throwable e)` Wrap an existing exception in a TransformerConfigurationException.
`TransformerException(String message, SourceLocator locator)` Create a new TransformerException from a message and a Locator.
`TransformerException(String message, SourceLocator locator, Throwable e)` Wrap an existing exception in a TransformerException.

### Uses of SourceLocator in javax.xml.transform.dom

Subinterfaces of SourceLocator in javax.xml.transform.dom
`interface` `DOMLocator` Indicates the position of a node in a source DOM, intended primarily for error reporting.