org.exolab.castor.net

Interface URIResolver

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
URILocationresolve(String href, String documentBase)
Resolves the given href and documentBase.
URILocationresolveURN(String urn)
Resolves the given urn.

Method Detail

resolve

public URILocation resolve(String href, String documentBase)
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)
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-2006. All rights reserved http://www.intalio.com