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