org.hibernatespatial.helper
Interface FinderStrategy<T,S>

Type Parameters:
T - the return type of the find method
S - the type of subject
All Known Implementing Classes:
GeometryPropertyFinder

public interface FinderStrategy<T,S>

A FinderStrategy is used to find a specific feature. It is useful in cases where reflection is used to determine some property of a class.

Author:
Karel Maesen

Method Summary
 T find(S subject)
          Find a feature or property of a subject
 

Method Detail

find

T find(S subject)
       throws FinderException
Find a feature or property of a subject

Parameters:
subject - the object that is being searched
Returns:
the object sought
Throws:
FinderException - thrown when the feature can be found;


Copyright © 2011 hibernatespatial.org. All Rights Reserved.