Package org.exolab.castor.net
Interface URIResolver
-
- All Known Implementing Classes:
URIResolverImpl
public interface URIResolver
An interface for URI handling- Version:
- $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Keith Visco
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URILocation
resolve(java.lang.String href, java.lang.String documentBase)
Resolves the given href and documentBase.URILocation
resolveURN(java.lang.String urn)
Resolves the given urn.
-
-
-
Method Detail
-
resolve
URILocation resolve(java.lang.String href, java.lang.String documentBase) throws URIException
Resolves the given href and documentBase. An implementation of this method should never return null. A URIException may be thrown instead.- Returns:
- the URILocation for the URI. [not null]
- Throws:
URIException
-
resolveURN
URILocation resolveURN(java.lang.String urn) throws URIException
Resolves the given urn. An implementation of this method may return null if the URN could not be resolved.- Returns:
- the URILocation for the URN
- Throws:
URIException
-
-