org.exolab.castor.net

Interface URIResolver

Known Implementing Classes:
URIResolverImpl

public interface URIResolver

An interface for URI handling
Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:39 $
Author:
Keith Visco

Method Summary

URILocation
resolve(String href, String documentBase)
Resolves the given href and documentBase.
URILocation
resolveURN(String urn)
Resolves the given urn.

Method Details

resolve

public URILocation resolve(String href,
                           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]

resolveURN

public URILocation resolveURN(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

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com