Package org.spdx.rdfparser.model.pointer
Class PointerFactory
java.lang.Object
org.spdx.rdfparser.model.pointer.PointerFactory
public final class PointerFactory extends Object
Factory for creating pointer classes based on the information in the model.
Subclasses are determined by the type or the properties in the model.
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors Constructor Description PointerFactory()
-
Method Summary
Modifier and Type Method Description static SinglePointer
getSinglePointerFromModel(IModelContainer modelContainer, org.apache.jena.graph.Node node)
Get the pointer from the model determining the subclass from the information in the model.
-
Constructor Details
-
PointerFactory
public PointerFactory()
-
-
Method Details
-
getSinglePointerFromModel
public static SinglePointer getSinglePointerFromModel(IModelContainer modelContainer, org.apache.jena.graph.Node node) throws InvalidSPDXAnalysisExceptionGet the pointer from the model determining the subclass from the information in the model.- Parameters:
modelContainer
-object
-- Returns:
- Throws:
InvalidSPDXAnalysisException
-