org.deegree.commons.tom
Interface ReferenceResolver

All Known Subinterfaces:
GMLReferenceResolver
All Known Implementing Classes:
DeegreeReferenceResolver, FeatureStoreGMLIdResolver, GMLDocumentIdContext

public interface ReferenceResolver

Implementations provide the functionality to retrieve Object instances via URIs (which may be document local or remote).

A local reference is always constructed as # + id.

Version:
$Revision: 29595 $, $Date: 2011-02-09 17:02:26 +0100 (Wed, 09 Feb 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $
See Also:
Reference

Method Summary
 Object getObject(String uri, String baseURL)
          Returns the Object that is referenced by the given URI.
 

Method Detail

getObject

Object getObject(String uri,
                 String baseURL)
Returns the Object that is referenced by the given URI.

Parameters:
uri - URI that identifies the object, must not be null
baseURL - optional baseURL for resolving URIs that are relative URLs, may be null
Returns:
the referenced object or null if no such object exists


Copyright © 2011. All Rights Reserved.