deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.framework.xml
Interface XLinkResolver<T>

Type Parameters:
T - the type of the implementation
All Known Subinterfaces:
CRSResource<T>, GMLResource, XMLResource
All Known Implementing Classes:
CRSParser, CRSParser_0_1_0, GMLFileResource, ProjFileResource, XMLFileResource

public interface XLinkResolver<T>

The XLinkResolver interface defines methods for the resolving of an xlink:href uri. Use-cases could be the resolving of an uri in a database, a localfile, a server or anything to which an URI could point.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $

Method Summary
 T getURIAsType(java.lang.String uri)
          Opens a stream to a resource which is defined by the uri.
 

Method Detail

getURIAsType

T getURIAsType(java.lang.String uri)
               throws java.io.IOException
Opens a stream to a resource which is defined by the uri.

Parameters:
uri - to locate
Returns:
an opened InputStream to the given resource or null if no resource was found.
Throws:
java.io.IOException - If an error occurred while locating or opening the resource.

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org