Uses of Class
com.github.jsonldjava.core.JsonLdError
Packages that use JsonLdError
-
Uses of JsonLdError in com.github.jsonldjava.core
Methods in com.github.jsonldjava.core that throw JsonLdErrorModifier and TypeMethodDescriptionDocumentLoader.addInjectedDoc
(String url, String doc) Avoid resolving a document by instead using the given serialised representation.Compaction Algorithm http://json-ld.org/spec/latest/json-ld-api/#compaction-algorithmCompaction Algorithm http://json-ld.org/spec/latest/json-ld-api/#compaction-algorithmJsonLdProcessor.compact
(Object input, Object context, JsonLdOptions opts) Compacts the given input using the context according to the steps in the Compaction algorithm.private void
Create Term Definition Algorithm http://json-ld.org/spec/latest/json-ld-api/#create-term-definitionExpansion Algorithm http://json-ld.org/spec/latest/json-ld-api/#expansion-algorithmExpansion Algorithm http://json-ld.org/spec/latest/json-ld-api/#expansion-algorithmExpands the given input according to the steps in the Expansion algorithm, using the defaultJsonLdOptions
.JsonLdProcessor.expand
(Object input, JsonLdOptions opts) Expands the given input according to the steps in the Expansion algorithm.(package private) String
Context.expandIri
(String value, boolean relative, boolean vocab, Map<String, Object> context, Map<String, Boolean> defined) IRI Expansion Algorithm http://json-ld.org/spec/latest/json-ld-api/#iri-expansionContext.expandValue
(String activeProperty, Object value) private boolean
JsonLdApi.filterNode
(JsonLdApi.FramingContext state, Map<String, Object> node, Map<String, Object> frame, boolean requireAll) JsonLdApi.filterNodes
(JsonLdApi.FramingContext state, Map<String, Object> nodes, Map<String, Object> frame, boolean requireAll) static Object
JsonLdProcessor.flatten
(Object input, JsonLdOptions opts) Flattens the given input and compacts it using the passed context according to the steps in the Flattening algorithm:static Object
JsonLdProcessor.flatten
(Object input, Object context, JsonLdOptions opts) private void
JsonLdApi.frame
(JsonLdApi.FramingContext state, Map<String, Object> nodes, Map<String, Object> frame, Object parent, String property) Frames subjects according to the given frame.Performs JSON-LD framing.JsonLdProcessor.frame
(Object input, Object frame, JsonLdOptions opts) Frames the given input using the frame according to the steps in the Framing Algorithm.JsonLdApi.fromRDF
(RDFDataset dataset) Converts RDF statements into JSON-LD.JsonLdApi.fromRDF
(RDFDataset dataset, boolean noDuplicatesInDataset) Converts RDF statements into JSON-LD, presuming that there are no duplicates in the dataset.static Object
Converts an RDF dataset to JSON-LD, using the defaultJsonLdOptions
.static Object
JsonLdProcessor.fromRDF
(Object dataset, JsonLdOptions options) Converts an RDF dataset to JSON-LD.static Object
JsonLdProcessor.fromRDF
(Object input, JsonLdOptions options, RDFParser parser) Converts an RDF dataset to JSON-LD, using a specific instance ofRDFParser
.static Object
Converts an RDF dataset to JSON-LD, using a specific instance ofRDFParser
, and the defaultJsonLdOptions
.(package private) void
JsonLdApi.generateNodeMap
(Object element, Map<String, Object> nodeMap) _____ _ _ _ _ _ _ _ _ | ___| | __ _| |_| |_ ___ _ __ / \ | | __ _ ___ _ __(_) |_| |__ _ __ ___ | |_ | |/ _` | __| __/ _ \ '_ \ / _ \ | |/ _` |/ _ \| '__| | __| '_ \| '_ ` _ \ | _| | | (_| | |_| || __/ | | | / ___ \| | (_| | (_) | | | | |_| | | | | | | | | |_| |_|\__,_|\__|\__\___|_| |_| /_/ \_\_|\__, |\___/|_| |_|\__|_| |_|_| |_| |_| |___/(package private) void
(package private) void
JsonLdApi.generateNodeMap
(Object element, Map<String, Object> nodeMap, String activeGraph, Object activeSubject, String activeProperty, Map<String, Object> list) private JsonLdConsts.Embed
JsonLdApi.getFrameEmbed
(Map<String, Object> frame, JsonLdConsts.Embed thedefault) NormalizeUtils.hashBlankNodes
(Collection<String> unnamed_) private void
JsonLdApi.initialize
(Object input, Object context) Initializes this object by cloning the input object usingJsonLdUtils.clone(Object)
, and by parsing the context usingContext.parse(Object)
.DocumentLoader.loadDocument
(String url) Loads the URL if possible, returning it as a RemoteDocument.Performs RDF normalization on the given JSON-LD input.static Object
Performs RDF dataset normalization on the given JSON-LD input.static Object
JsonLdProcessor.normalize
(Object input, JsonLdOptions options) Performs RDF dataset normalization on the given JSON-LD input.Context Processing Algorithm http://json-ld.org/spec/latest/json-ld-api/#context-processing-algorithmsprivate Context
Helper method used to work around logic errors related to the recursive nature of the JSONLD-API Context Processing Algorithm.Parse the input into the internal RDF Dataset format The format is a Map with the following structure: { GRAPH_1: [ TRIPLE_1, TRIPLE_2, ..., TRIPLE_N ], GRAPH_2: [ TRIPLE_1, TRIPLE_2, ..., TRIPLE_N ], ...void
RDFDataset.parseContext
(Object contextLike) parses a context object and sets any namespaces found within itstatic RDFDataset
RDFDatasetUtils.parseNQuads
(String input) Parses RDF in the form of N-Quads.(package private) static Object
JsonLdUtils.removePreserve
(Context ctx, Object input, JsonLdOptions opts) Removes the @preserve keywords as the last step of the framing algorithm.void
JsonLdOptions.setEmbed
(JsonLdConsts.Embed embed) void
Converts an RDF triple object to a JSON-LD object.JsonLdApi.toRDF()
Adds RDF triples for each graph in the current node map to an RDF dataset.static Object
Outputs the RDF dataset found in the given JSON-LD object, using the defaultJsonLdOptions
.static Object
JsonLdProcessor.toRDF
(Object input, JsonLdOptions options) Outputs the RDF dataset found in the given JSON-LD object.static Object
JsonLdProcessor.toRDF
(Object input, JsonLdTripleCallback callback) Outputs the RDF dataset found in the given JSON-LD object, using the defaultJsonLdOptions
.static Object
JsonLdProcessor.toRDF
(Object input, JsonLdTripleCallback callback, JsonLdOptions options) Outputs the RDF dataset found in the given JSON-LD object.Constructors in com.github.jsonldjava.core that throw JsonLdErrorModifierConstructorDescriptionJsonLdApi
(Object input, JsonLdOptions opts) Constructs a JsonLdApi object using the given object as the initial JSON-LD object, and the given JsonLdOptions.JsonLdApi
(Object input, Object context, JsonLdOptions opts) Constructs a JsonLdApi object using the given object as the initial JSON-LD object, the given context, and the given JsonLdOptions. -
Uses of JsonLdError in com.github.jsonldjava.impl
Methods in com.github.jsonldjava.impl that throw JsonLdError