org.exolab.castor.net

Class URILocation

Known Direct Subclasses:
SchemaLocation, URILocationImpl

public abstract class URILocation
extends java.lang.Object

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

Method Summary

abstract String
getAbsoluteURI()
Returns the absolute URI for this URILocation
abstract String
getBaseURI()
Returns the base location of this URILocation.
abstract Reader
getReader()
Returns a Reader for the resource represented by this URILocation.
abstract String
getRelativeURI()
Returns the relative URI for this URILocation
String
toString()
Returns the String representation of this URILocation.

Method Details

getAbsoluteURI

public abstract String getAbsoluteURI()
Returns the absolute URI for this URILocation
Returns:
the absolute URI for this URILocation
See Also:
getRelativeURI, getBaseURI

getBaseURI

public abstract String getBaseURI()
Returns the base location of this URILocation. If this URILocation is an URL, the base location will be equivalent to the document base for the URL.
Returns:
the base location of this URILocation
See Also:
getAbsoluteURI, getRelativeURI

getReader

public abstract Reader getReader()
            throws java.io.IOException
Returns a Reader for the resource represented by this URILocation.
Returns:
a Reader for the resource represented by this URILocation

getRelativeURI

public abstract String getRelativeURI()
Returns the relative URI for this URILocation
Returns:
the relative URI for this URILocation
See Also:
getAbsoluteURI, getBaseURI

toString

public String toString()
Returns the String representation of this URILocation.
Returns:
the String representation of this URILocation

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