Class RdfModelCreatorVisitor

java.lang.Object
io.openmanufacturing.sds.aspectmodel.serializer.RdfModelCreatorVisitor
All Implemented Interfaces:
AspectVisitor<RdfModelCreatorVisitor.ElementModel,ModelElement>, Function<Aspect,org.apache.jena.rdf.model.Model>

public class RdfModelCreatorVisitor extends Object implements AspectVisitor<RdfModelCreatorVisitor.ElementModel,ModelElement>, Function<Aspect,org.apache.jena.rdf.model.Model>
AspectVisitor that translates an Aspect into the corresponding Model. The usual usage is calling visitAspect(Aspect, ModelElement). The context (i.e., the second argument of the visit methods) refers to the parent element in the model graph traversal.