org.apache.woden.resolver

## Interface URIResolver

-     public interface URIResolver

  Implementations of this interface may be used to specify a custom URI resolver. Such an implementation can then be used to override the default Woden URI Resolver. To associate a URI resolver programmatically, the following should be called prior to parser invocation.

  Example:
  WSDLFactory factory = WSDLFactory.newInstance();
  WSDLReader reader = factory.newWSDLReader();
  // MyURIResolver implements this interface ...
  URIResolver resolver = new MyURIResolver();
  reader.setURIResolver(resolver);
  ...
  // Then, can parse a document and the assigned resolver will be used internally...
  Description desc = reader.readWSDL("http://myplace/mydoc.wsdl");

  See Also:
    `WSDLFactory`, `WSDLReader`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `URI` | `resolveURI(URI uri)` Implementation should return null if there is no resolution for the uri.

- - ### Method Detail

    - #### resolveURI

          URI resolveURI(URI uri)
                         throws WSDLException,
                                IOException

      Implementation should return null if there is no resolution for the uri.
      Parameters:
        `uri` - the uri to be resolved
      Returns:
        the resolved URI (or null if no resolution available)
      Throws:
        `WSDLException`
        `IOException`

Copyright ? Apache Software Foundation. All Rights Reserved.