Package org.spdx.jacksonstore
Class SpdxJsonLDContext
java.lang.Object
org.spdx.jacksonstore.SpdxJsonLDContext
Singleton class which manages access to the JSON-LD context for SPDX
- Author:
- Gary O'Neall
-
Field Summary
FieldsModifier and TypeFieldDescriptionMaps XML Schema primitive types to Java classes supported by the SPDX stores. -
Method Summary
-
Field Details
-
XMLSCHEMA_TYPE_TO_JAVA_CLASS
Maps XML Schema primitive types to Java classes supported by the SPDX stores. See https://www.w3.org/TR/xmlschema-2 for a description of XML schema types.
-
-
Method Details
-
getInstance
- Throws:
org.spdx.library.InvalidSPDXAnalysisException
-
getType
- Parameters:
propertyName-- Returns:
- type type for the property name if the type is specified in the JSON-LD context
-
isList
- Parameters:
property-- Returns:
- true if the property is a list
-