org.exolab.castor.net
Interface URIResolver

All 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(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


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