org.openrdf.sesame.sail.util
Class QuerySailStack
java.lang.Object
org.openrdf.sesame.sail.util.QuerySailStack
- public class QuerySailStack
- extends Object
QuerySailStack - queries the sail stack for a SAIL that is instance of
a specific class.i.e. implements a specific interface.
- Version:
- 1.0
- Author:
- damyan ognyanoff
|
Method Summary |
static Sail |
queryInterface(Sail base,
Class classToQuery)
Gets the first SAIL from the stacked ones that is instanceof the specified class. |
static Sail |
queryInterface(Sail base,
String classToQuery)
Gets the first SAIL from the stacked ones that is instanceof the specified class. |
QuerySailStack
public QuerySailStack()
queryInterface
public static Sail queryInterface(Sail base,
String classToQuery)
- Gets the first SAIL from the stacked ones that is instanceof the specified class.
- Parameters:
base - the base SAIL in the stacked SAILs list.classToQuery - the class of the interface wanted
- Returns:
- the first SAIL that is instance of the specified class
queryInterface
public static Sail queryInterface(Sail base,
Class classToQuery)
- Gets the first SAIL from the stacked ones that is instanceof the specified class.
- Parameters:
base - the base SAIL in the stacked SAILs list.classToQuery - the class of the interface wanted
- Returns:
- the first SAIL that is instance of the specified class
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.