|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.easywsdl.schema.util.URILocationResolver
public final class URILocationResolver
URI resolver used to resolve URI as URL, based on a base URI, to load external document.
| Constructor Summary | |
|---|---|
URILocationResolver()
|
|
| Method Summary | |
|---|---|
java.net.URL |
resolve(java.net.URI baseURI,
java.net.URI uri)
Resolve the uri according to the baseURI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URILocationResolver()
| Method Detail |
|---|
public java.net.URL resolve(java.net.URI baseURI,
java.net.URI uri)
throws java.net.MalformedURLException
Resolve the uri according to the baseURI.
If baseURI is null, the return value is the
uri converted into URL using URI.toURL().
Otherwise the return value is the result of URL.URL(URL, String).
baseURI - The base URI.uri - The URI to resolve.
URL.
java.net.MalformedURLException - The resolved URI is not a well-formed URL.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||