org.topbraidcomposer.core.search
Class ResourceSearch
java.lang.Object
org.topbraidcomposer.core.search.ResourceSearch
public class ResourceSearch
- extends java.lang.Object
A singleton that can deliver resources that match a given search string.
- Author:
- Holger Knublauch
|
Method Summary |
static ResourceSearch |
get()
Gets the currently used ResourceSearch engine. |
void |
search(com.hp.hpl.jena.rdf.model.Model model,
java.lang.String pattern,
IRDFNodeFilter filter,
ISearchHandler handler)
|
void |
search(com.hp.hpl.jena.rdf.model.Model model,
java.lang.String pattern,
ISearchHandler handler)
Searches for matching resources in a given model and then calls
a handler to process the results. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceSearch
public ResourceSearch()
get
public static ResourceSearch get()
- Gets the currently used ResourceSearch engine.
- Returns:
- the ResourceSearch
search
public void search(com.hp.hpl.jena.rdf.model.Model model,
java.lang.String pattern,
ISearchHandler handler)
throws java.lang.reflect.InvocationTargetException
- Searches for matching resources in a given model and then calls
a handler to process the results.
- Parameters:
model - the Model to search inpattern - the search pattern (e.g., "Per*")handler - the handler that shall be called after completion
- Throws:
java.lang.reflect.InvocationTargetException
search
public void search(com.hp.hpl.jena.rdf.model.Model model,
java.lang.String pattern,
IRDFNodeFilter filter,
ISearchHandler handler)
throws java.lang.reflect.InvocationTargetException
- Throws:
java.lang.reflect.InvocationTargetException