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(JsonStructure)orRdfDocument.of(RdfDataset)directly