| Package | Description | 
|---|---|
| javax.xml.validation | 
                    This package provides an API for validation of XML documents. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract LSResourceResolver | SchemaFactory. getResourceResolver()Gets the current  LSResourceResolverset to thisSchemaFactory. | 
| abstract LSResourceResolver | ValidatorHandler. getResourceResolver()Gets the current  LSResourceResolverset to thisValidatorHandler. | 
| abstract LSResourceResolver | Validator. getResourceResolver()Gets the current  LSResourceResolverset to thisValidator. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | SchemaFactory. setResourceResolver(LSResourceResolver resourceResolver)Sets the  LSResourceResolverto customize
 resource resolution when parsing schemas. | 
| abstract void | ValidatorHandler. setResourceResolver(LSResourceResolver resourceResolver)Sets the  LSResourceResolverto customize
 resource resolution while in a validation episode. | 
| abstract void | Validator. setResourceResolver(LSResourceResolver resourceResolver)Sets the  LSResourceResolverto customize
 resource resolution while in a validation episode. | 
 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.