use of org.qi4j.library.rdf.serializer.SerializerContext 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