Package org.spdx.tag
Class BuildLegacyDocument
java.lang.Object
org.spdx.tag.BuildLegacyDocument
- All Implemented Interfaces:
TagValueBehavior
@Deprecated public class BuildLegacyDocument extends Object implements TagValueBehavior
Deprecated.
Translates an tag-value file to a an SPDX Document.
This is the legacy tag-value translator for versions 1.2 and earlier
This has been replaced by BuildDocument which supports the SPDX 2.0 syntax
- Author:
- Rana Rahal, Protecode Inc.
-
Constructor Summary
Constructors Constructor Description BuildLegacyDocument(org.apache.jena.rdf.model.Model model, SPDXDocument spdxDocument, Properties constants)Deprecated. -
Method Summary
Modifier and Type Method Description voidbuildDocument(String tag, String value, int lineNumber)Deprecated.voidenter()Deprecated.voidexit()Deprecated.
-
Constructor Details
-
BuildLegacyDocument
public BuildLegacyDocument(org.apache.jena.rdf.model.Model model, SPDXDocument spdxDocument, Properties constants)Deprecated.
-
-
Method Details
-
enter
Deprecated.- Specified by:
enterin interfaceTagValueBehavior- Throws:
Exception
-
buildDocument
Deprecated.- Specified by:
buildDocumentin interfaceTagValueBehavior- Throws:
Exception
-
exit
Deprecated.- Specified by:
exitin interfaceTagValueBehavior- Throws:
Exception
-