|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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");
WSDLFactory,
WSDLReader| Method Summary | |
|---|---|
java.net.URI |
resolveURI(java.net.URI uri)
Implementation should return null if there is no resolution for the uri. |
| Method Detail |
|---|
java.net.URI resolveURI(java.net.URI uri)
throws WSDLException,
java.io.IOException
uri - the uri to be resolved
WSDLException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||