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 xml-schema for a description of XML schema types.
-
-
Method Details
-
getInstance
- Throws:
org.spdx.core.InvalidSPDXAnalysisException
-
getType
- Parameters:
propertyName
- Name of the property- Returns:
- type for the property name if the type is specified in the JSON-LD context
-
isList
- Parameters:
property
- JSON name of the property- Returns:
- true if the property is a list
-