org.deegree.cs.configuration.resources
Interface XLinkResolver<T>

Type Parameters:
T - the type of the implementation
All Known Subinterfaces:
CRSParser<T>, CRSResource<T>, GMLResource, XMLResource
All Known Implementing Classes:
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: 30120 $, $Date: 2011-03-22 10:04:15 +0100 (Tue, 22 Mar 2011) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

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

Method Detail

getURIAsType

T getURIAsType(String uri)
               throws 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:
IOException - If an error occurred while locating or opening the resource.


Copyright © 2011. All Rights Reserved.