Interface RdfRawPopulator
public interface RdfRawPopulator
An attempt at a populator interface that maps between key-value pairs
and RDF data.
- Author:
- raven
-
Method Summary
Modifier and TypeMethodDescriptionvoidemitTriples(org.apache.jena.graph.Graph out, Map<String, Object> map, org.apache.jena.graph.Node subject) Emit triples from the objectvoidexposeShape(ResourceShapeBuilder shapeBuilder) Return the set of bean properties which this populator usesreadProperties(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node subject) Set bean property values from a given subject's RDF graph
-
Method Details
-
getPropertyNames
Return the set of bean properties which this populator uses- Returns:
-
exposeShape
-
emitTriples
void emitTriples(org.apache.jena.graph.Graph out, Map<String, Object> map, org.apache.jena.graph.Node subject) Emit triples from the object- Parameters:
obj-outputGraph-
-
readProperties
Map<String,Object> readProperties(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node subject) Set bean property values from a given subject's RDF graph- Parameters:
graph-subject-- Returns:
-