use of org.openrdf.model.Graph in project qi4j-sdk by Qi4j.
the class ApplicationSerializer method serialize.
public Graph serialize(Application app) {
Graph graph = new GraphImpl();
SerializerContext context = new SerializerContext(graph);
ApplicationVisitor applicationVisitor = new ApplicationVisitor(context);
((Application) app).descriptor().accept(applicationVisitor);
return graph;
}
Aggregations