|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ldodds.foaf.jena.PrimaryPersonSniffer
Constructor Summary | |
PrimaryPersonSniffer()
|
Method Summary | |
static Resource |
findPrimaryResource(Model model,
java.lang.String base,
boolean allowGuessWork)
Note: will never return null if there's a person in the document because of attempts to "guess" the primary topic. |
static Resource |
guessPersonTopicFromRelationships(Model model)
Attempts to determine the primary person of a FOAF document, if said document doesn't have a foaf:maker or dc:creator property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PrimaryPersonSniffer()
Method Detail |
public static Resource findPrimaryResource(Model model, java.lang.String base, boolean allowGuessWork)
model
- base
-
public static Resource guessPersonTopicFromRelationships(Model model)
model
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |