public class BuildDocument extends Object implements TagValueBehavior
| Constructor and Description |
|---|
BuildDocument(SpdxDocumentContainer[] result,
Properties constants,
List<String> warnings) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildDocument(String tag,
String value) |
void |
enter() |
void |
exit() |
static Checksum |
parseChecksum(String value)
Creates a Checksum from the parameters specified in the tag value
|
static ExternalDocumentRef |
parseExternalDocumentRef(String refStr)
Parse a tag/value exteranl document reference string
|
public BuildDocument(SpdxDocumentContainer[] result, Properties constants, List<String> warnings)
public void enter()
throws Exception
enter in interface TagValueBehaviorExceptionpublic void buildDocument(String tag, String value) throws Exception
buildDocument in interface TagValueBehaviorExceptionpublic static ExternalDocumentRef parseExternalDocumentRef(String refStr) throws InvalidSpdxTagFileException
refStr - InvalidSpdxTagFileExceptionpublic static Checksum parseChecksum(String value) throws InvalidSpdxTagFileException
value - InvalidSpdxTagFileExceptionpublic void exit()
throws Exception
exit in interface TagValueBehaviorExceptionCopyright © 2017 Linux Foundation. All Rights Reserved.