public final class URIResolverImpl extends Object implements URIResolver
Constructor and Description |
---|
URIResolverImpl() |
Modifier and Type | Method and Description |
---|---|
URILocation |
resolve(String href,
String documentBase)
Resolves the given href and documentBase.
|
URILocation |
resolveURN(String urn)
Resolves the given urn.
|
public URILocation resolve(String href, String documentBase) throws URIException
Note:
However, the following won't be valid:file:/c:/Program Files/MyApp/myresource.xml file://usr/etc/myresource.xml http://www.castor.org/index.html ../relative/index.html
file://c:/Program Files/MyApp/myresource.xml
resolve
in interface URIResolver
URIException
public URILocation resolveURN(String urn) throws URIException
resolveURN
in interface URIResolver
URIException
Copyright © 2014. All rights reserved.