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

- Packages that use URIResolver
  Package | Description
  --- | ---
  javax.xml.transform | This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result.

- - ### Uses of URIResolver in javax.xml.transform

    Methods in javax.xml.transform that return URIResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract URIResolver` | Transformer.`getURIResolver()` Get an object that will be used to resolve URIs used in document().
    `abstract URIResolver` | TransformerFactory.`getURIResolver()` Get the object that is used by default during the transformation to resolve URIs used in document(), xsl:import, or xsl:include.

    Methods in javax.xml.transform with parameters of type URIResolver
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | Transformer.`setURIResolver(URIResolver resolver)` Set an object that will be used to resolve URIs used in document().
    `abstract void` | TransformerFactory.`setURIResolver(URIResolver resolver)` Set an object that is used by default during the transformation to resolve URIs used in document(), xsl:import, or xsl:include.

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