Package cz.vutbr.fit.layout.rdf
Class ModelBuilderBase
- java.lang.Object
-
- cz.vutbr.fit.layout.rdf.ModelTransformer
-
- cz.vutbr.fit.layout.rdf.ModelBuilderBase
-
- Direct Known Subclasses:
AreaModelBuilder,BoxModelBuilder,ChunkSetModelBuilder,LogicalAreaModelBuilder
public class ModelBuilderBase extends ModelTransformer
Common model builder methods.- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description ModelBuilderBase(IRIFactory iriFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddArtifactData(org.eclipse.rdf4j.model.Model graph, Artifact a)Stores the common information about an artifact to a model.org.eclipse.rdf4j.model.IRIinsertBounds(org.eclipse.rdf4j.model.IRI boxIri, org.eclipse.rdf4j.model.IRI property, String type, Rectangular bounds, org.eclipse.rdf4j.model.Model graph)-
Methods inherited from class cz.vutbr.fit.layout.rdf.ModelTransformer
getAreaIri, getBoxIri, getIriFactory, setIriFactory
-
-
-
-
Constructor Detail
-
ModelBuilderBase
public ModelBuilderBase(IRIFactory iriFactory)
-
-
Method Detail
-
addArtifactData
public void addArtifactData(org.eclipse.rdf4j.model.Model graph, Artifact a)Stores the common information about an artifact to a model.- Parameters:
graph- the model to store the data toa- the artifact
-
insertBounds
public org.eclipse.rdf4j.model.IRI insertBounds(org.eclipse.rdf4j.model.IRI boxIri, org.eclipse.rdf4j.model.IRI property, String type, Rectangular bounds, org.eclipse.rdf4j.model.Model graph)
-
-