org.topbraid.core.model
Class ResourceMatcher

java.lang.Object
  extended by org.topbraid.core.model.ResourceMatcher

public class ResourceMatcher
extends java.lang.Object

A singleton that can be used to get URI resources that match a given search pattern. Currently the features of this are limited but more fill follow.

Author:
Holger Knublauch

Constructor Summary
ResourceMatcher()
           
 
Method Summary
static ResourceMatcher get()
           
 java.util.Set<com.hp.hpl.jena.rdf.model.Resource> getMatchingResources(com.hp.hpl.jena.rdf.model.Model model, java.lang.String searchPattern)
           
 java.util.Set<com.hp.hpl.jena.rdf.model.Resource> getMatchingResources(com.hp.hpl.jena.rdf.model.Model model, java.lang.String searchPattern, IRDFNodeFilter filter, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 java.util.Iterator<com.hp.hpl.jena.rdf.model.Resource> listMatchingResources(com.hp.hpl.jena.rdf.model.Model model, java.lang.String pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceMatcher

public ResourceMatcher()
Method Detail

get

public static ResourceMatcher get()

getMatchingResources

public java.util.Set<com.hp.hpl.jena.rdf.model.Resource> getMatchingResources(com.hp.hpl.jena.rdf.model.Model model,
                                                                              java.lang.String searchPattern)

getMatchingResources

public java.util.Set<com.hp.hpl.jena.rdf.model.Resource> getMatchingResources(com.hp.hpl.jena.rdf.model.Model model,
                                                                              java.lang.String searchPattern,
                                                                              IRDFNodeFilter filter,
                                                                              org.eclipse.core.runtime.IProgressMonitor monitor)

listMatchingResources

public java.util.Iterator<com.hp.hpl.jena.rdf.model.Resource> listMatchingResources(com.hp.hpl.jena.rdf.model.Model model,
                                                                                    java.lang.String pattern)