Uses of Class
no.hasmac.jsonld.http.media.MediaType
Packages that use MediaType
Package
Description
Processable documents.
Remote Document and Context Retrieval.
-
Uses of MediaType in no.hasmac.jsonld.document
Fields in no.hasmac.jsonld.document declared as MediaTypeModifier and TypeFieldDescriptionprivate final MediaTypeJsonDocument.contentTypeprivate final MediaTypeRdfDocument.contentTypeMethods in no.hasmac.jsonld.document that return MediaTypeModifier and TypeMethodDescriptionDocument.getContentType()The Content-Type of the loaded document, exclusive of any optional parameters.JsonDocument.getContentType()RdfDocument.getContentType()Methods in no.hasmac.jsonld.document with parameters of type MediaTypeModifier and TypeMethodDescriptionstatic booleanstatic booleanprivate static voidJsonDocument.assertContentType(MediaType contentType) private static voidRdfDocument.assertContentType(MediaType contentType) private static JsonDocumentstatic JsonDocumentCreate a new document fromJsonStructure.static JsonDocumentJsonDocument.of(MediaType contentType, InputStream is) Create a new document from content provided byInputStream.static JsonDocumentCreate a new document from content provided byReader.static RdfDocumentRdfDocument.of(MediaType type, InputStream is) static Documentstatic DocumentRdfDocument.of(MediaType contentType, RdfDataset dataset) Create a new document fromRdfDataset.static DocumentDocumentParser.parse(MediaType contentType, InputStream inputStream) Deprecated.Create a new document.static DocumentDeprecated.Create a new document.private static JsonLdErrorDocumentParser.unsupportedMediaType(MediaType contentType) Deprecated.Constructors in no.hasmac.jsonld.document with parameters of type MediaTypeModifierConstructorDescriptionprivateJsonDocument(MediaType type, String profile, jakarta.json.JsonStructure structure) privateRdfDocument(MediaType type, String profile, RdfDataset dataset) -
Uses of MediaType in no.hasmac.jsonld.http.link
Fields in no.hasmac.jsonld.http.link declared as MediaTypeMethods in no.hasmac.jsonld.http.link that return types with arguments of type MediaTypeConstructors in no.hasmac.jsonld.http.link with parameters of type MediaType -
Uses of MediaType in no.hasmac.jsonld.http.media
Fields in no.hasmac.jsonld.http.media declared as MediaTypeModifier and TypeFieldDescriptionstatic final MediaTypeMediaType.ANYstatic final MediaTypeMediaType.HTMLstatic final MediaTypeMediaType.JSONstatic final MediaTypeMediaType.JSON_LDstatic final MediaTypeMediaType.N_QUADSstatic final MediaTypeMediaType.XHTMLMethods in no.hasmac.jsonld.http.media that return MediaTypeModifier and TypeMethodDescriptionstatic MediaTypestatic MediaTypestatic final MediaTypeMediaTypeParser.parse()Methods in no.hasmac.jsonld.http.media with parameters of type MediaType -
Uses of MediaType in no.hasmac.jsonld.loader
Fields in no.hasmac.jsonld.loader declared as MediaTypeMethods in no.hasmac.jsonld.loader that return types with arguments of type MediaTypeMethods in no.hasmac.jsonld.loader with parameters of type MediaTypeModifier and TypeMethodDescriptionprivate static Optional<DocumentReader<InputStream>> DocumentResolver.findReader(MediaType type) Return a reader or throwJsonLdErrorif there is no reader nor fallbackContentType.private DocumentDefaultHttpLoader.resolve(MediaType type, URI targetUri, URI contextUrl, HttpResponse response) voidDefaultHttpLoader.setFallbackContentType(MediaType fallbackContentType) Set fallback content-type used when received content-type is not supported.voidDocumentResolver.setFallbackContentType(MediaType fallbackContentType) -
Uses of MediaType in no.hasmac.rdf
Methods in no.hasmac.rdf that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionstatic Collection<MediaType> Rdf.canRead()static Collection<MediaType> Rdf.canWrite()Methods in no.hasmac.rdf with parameters of type MediaTypeModifier and TypeMethodDescriptionstatic RdfReaderRdf.createReader(MediaType contentType, InputStream is) static RdfReaderRdf.createReader(MediaType contentType, Reader reader) static RdfWriterRdf.createWriter(MediaType contentType, OutputStream os) static RdfWriterRdf.createWriter(MediaType contentType, Writer writer) -
Uses of MediaType in no.hasmac.rdf.impl
Fields in no.hasmac.rdf.impl with type parameters of type MediaTypeModifier and TypeFieldDescriptionprivate static final Collection<MediaType> DefaultRdfProvider.CAN_READWRITEMethods in no.hasmac.rdf.impl that return types with arguments of type MediaTypeMethods in no.hasmac.rdf.impl with parameters of type MediaTypeModifier and TypeMethodDescriptionDefaultRdfProvider.createReader(MediaType contentType, Reader reader) DefaultRdfProvider.createWriter(MediaType contentType, Writer writer) -
Uses of MediaType in no.hasmac.rdf.spi
Methods in no.hasmac.rdf.spi that return types with arguments of type MediaTypeModifier and TypeMethodDescriptionabstract Collection<MediaType> RdfProvider.canRead()abstract Collection<MediaType> RdfProvider.canWrite()Methods in no.hasmac.rdf.spi with parameters of type MediaTypeModifier and TypeMethodDescriptionabstract RdfReaderRdfProvider.createReader(MediaType contentType, Reader reader) abstract RdfWriterRdfProvider.createWriter(MediaType contentType, Writer writer)