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, Parser, Parser, 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: 23245 $, $Date: 2010-03-25 10:45:24 +0100 (Do, 25. Mär 2010) $
Author:
Rutger Bezema, last edited by: $Author: rbezema $

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.


Copyright © 2011. All Rights Reserved.