Package no.hasmac.jsonld.document
Class DocumentParser
java.lang.Object
no.hasmac.jsonld.document.DocumentParser
Deprecated.
-
Method Summary
-
Method Details
-
parse
Deprecated.Create a new document.- Parameters:
contentType-MediaTypeof the raw content, must not benullinputStream- providing unparsed raw content described by {MediaType- Returns:
Documentrepresenting unparsed content- Throws:
JsonLdError- in a case of parsing error
-
parse
Deprecated.Create a new document.- Parameters:
contentType-MediaTypeof the raw content, must not benullreader- providing unparsed raw content described by {MediaType- Returns:
Documentrepresenting unparsed content- Throws:
JsonLdError- in a case of parsing error
-
JsonDocument.of(jakarta.json.JsonStructure)orRdfDocument.of(no.hasmac.rdf.RdfDataset)directly