com.ldodds.foaf.jena
Class ModelUtils

java.lang.Object
  extended bycom.ldodds.foaf.jena.ModelUtils

public class ModelUtils
extends java.lang.Object

Utility class for working with foaf:Person resources within a Jena model.

Author:
ldodds

Constructor Summary
ModelUtils()
           
 
Method Summary
static Resource findCreator(Model model, java.lang.String base)
           
static Resource findMaker(Model model, java.lang.String base)
           
static Resource findTopicOfPersonalProfileDocument(Model model, java.lang.String base)
           
static Selector getKnowsSelector(Resource person)
           
static boolean isFoafPerson(Resource resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelUtils

public ModelUtils()
Method Detail

getKnowsSelector

public static Selector getKnowsSelector(Resource person)

findTopicOfPersonalProfileDocument

public static Resource findTopicOfPersonalProfileDocument(Model model,
                                                          java.lang.String base)

findMaker

public static Resource findMaker(Model model,
                                 java.lang.String base)

findCreator

public static Resource findCreator(Model model,
                                   java.lang.String base)

isFoafPerson

public static boolean isFoafPerson(Resource resource)