| Package | Description | 
|---|---|
| javax.xml.bind.helpers | 
        JAXB Provider Use Only: Provides partial default implementations for 
        some of the javax.xml.bind interfaces. | 
| org.xml.sax |  This package provides the core SAX APIs. | 
| org.xml.sax.ext | 
This package contains interfaces to SAX2 facilities that
conformant SAX drivers won't necessarily support. | 
| org.xml.sax.helpers | This package contains "helper" classes, including
support for bootstrapping SAX-based applications. | 
| Constructor and Description | 
|---|
| ValidationEventLocatorImpl(Locator loc)Constructs an object from an org.xml.sax.Locator. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DocumentHandler. setDocumentLocator(Locator locator)Deprecated.  Receive an object for locating the origin of SAX document events. | 
| void | HandlerBase. setDocumentLocator(Locator locator)Deprecated.  Receive a Locator object for document events. | 
| void | ContentHandler. setDocumentLocator(Locator locator)Receive an object for locating the origin of SAX document events. | 
| Constructor and Description | 
|---|
| SAXParseException(String message,
                 Locator locator)Create a new SAXParseException from a message and a Locator. | 
| SAXParseException(String message,
                 Locator locator,
                 Exception e)Wrap an existing exception in a SAXParseException. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | Locator2SAX2 extension to augment the entity information provided
 though a  Locator. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | Locator2ImplSAX2 extension helper for holding additional Entity information,
 implementing the  Locator2interface. | 
| Constructor and Description | 
|---|
| Locator2Impl(Locator locator)Copy an existing Locator or Locator2 object. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | LocatorImplProvide an optional convenience implementation of Locator. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | XMLReaderAdapter. setDocumentLocator(Locator locator)Set a document locator. | 
| void | ParserAdapter. setDocumentLocator(Locator locator)Adapter implementation method; do not call. | 
| void | XMLFilterImpl. setDocumentLocator(Locator locator)Filter a new document locator event. | 
| void | DefaultHandler. setDocumentLocator(Locator locator)Receive a Locator object for document events. | 
| Constructor and Description | 
|---|
| LocatorImpl(Locator locator)Copy constructor. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.