public class ModelBasedTripleGenerator extends Object implements TripleGenerator
For each content model in the object, will see if there is a
TripleGenerator for that model. Returns the union of all triples
created by these generators.
| Constructor and Description |
|---|
ModelBasedTripleGenerator()
Create a ModelBasedTripleGenerator.
|
| Modifier and Type | Method and Description |
|---|---|
Set<org.jrdf.graph.Triple> |
getTriplesForObject(DOReader reader)
Gets all triples implied by the object's models.
|
void |
setTripleGenerators(Map<String,? extends TripleGenerator> generators) |
public ModelBasedTripleGenerator()
public void setTripleGenerators(Map<String,? extends TripleGenerator> generators)
public Set<org.jrdf.graph.Triple> getTriplesForObject(DOReader reader) throws ResourceIndexException
getTriplesForObject in interface TripleGeneratorreader - Reads the current objectResourceIndexExceptionCopyright © 2013 DuraSpace. All Rights Reserved.