| Package | Description |
|---|---|
| xdi2.core |
The XDI graph model and basic operations on it.
|
| xdi2.core.impl | |
| xdi2.core.io |
Classes for reading and writing XDI graphs in XDI DISPLAY, XDI/JSON, and a few other experimental formats.
|
| xdi2.core.io.readers | |
| xdi2.core.io.writers |
| Modifier and Type | Method and Description |
|---|---|
Graph |
GraphFactory.parseGraph(String graph,
MimeType mimeType)
Opens a graph and fills it with content in one of the serialization formats.
|
String |
Graph.toString(MimeType mimeType)
Converts the graph to a string in the given MIME type.
|
| Modifier and Type | Method and Description |
|---|---|
Graph |
AbstractGraphFactory.parseGraph(String string,
MimeType mimeType) |
String |
AbstractGraph.toString(MimeType mimeType) |
| Modifier and Type | Method and Description |
|---|---|
MimeType |
XDIWriter.getMimeType()
Returns the mime type this XDIWriter can write, e.g.
|
MimeType |
XDIReader.getMimeType()
Returns the mime type this XDIReader can read, e.g.
|
MimeType |
AbstractXDIWriter.getMimeType() |
MimeType |
AbstractXDIReader.getMimeType() |
static MimeType[] |
XDIWriterRegistry.getMimeTypes()
Returns all mime types for which XDIWriter implementations exist.
|
static MimeType[] |
XDIReaderRegistry.getMimeTypes()
Returns all mime types for which XDIReader implementations exist.
|
MimeType |
MimeType.mimeTypeWithoutParameters() |
MimeType |
MimeType.mimeTypeWithoutQuality() |
| Modifier and Type | Method and Description |
|---|---|
int |
MimeType.compareTo(MimeType other) |
static XDIWriter |
XDIWriterRegistry.forMimeType(MimeType mimeType)
Returns an XDIWriter for the specified mime type, e.g.
|
static XDIReader |
XDIReaderRegistry.forMimeType(MimeType mimeType)
Returns an XDIReader for the specified mime type, e.g.
|
static boolean |
XDIWriterRegistry.supportsFileExtension(MimeType fileExtension)
Checks if we have an XDIWriter that supports this file extension.
|
static boolean |
XDIReaderRegistry.supportsFileExtension(MimeType fileExtension)
Checks if we have an XDIReader that supports this file extension.
|
static boolean |
XDIWriterRegistry.supportsMimeType(MimeType mimeType)
Checks if we have an XDIWriter that supports this MIME type.
|
boolean |
XDIWriter.supportsMimeType(MimeType mimeType)
Checks if a given mime type is supported.
|
boolean |
XDIReader.supportsMimeType(MimeType mimeType)
Checks if a given mime type is supported.
|
static boolean |
XDIReaderRegistry.supportsMimeType(MimeType mimeType)
Checks if we have an XDIReader that supports this MIME type.
|
boolean |
AbstractXDIWriter.supportsMimeType(MimeType mimeType) |
boolean |
AbstractXDIReader.supportsMimeType(MimeType mimeType) |
| Modifier and Type | Field and Description |
|---|---|
static MimeType |
XDIJSONReader.MIME_TYPE |
static MimeType |
XDIDisplayReader.MIME_TYPE |
static MimeType |
XDIJSONQuadReader.MIME_TYPE |
static MimeType |
XDIRawJSONReader.MIME_TYPE |
| Modifier and Type | Field and Description |
|---|---|
static MimeType |
XDIHTMLWriter.MIME_TYPE |
static MimeType |
XDIJSONTripleWriter.MIME_TYPE |
static MimeType |
XDIJSONTREEWriter.MIME_TYPE |
static MimeType |
XDIJSONWriter.MIME_TYPE |
static MimeType |
XDIDisplayWriter.MIME_TYPE |
static MimeType |
XDIJSONPARSEWriter.MIME_TYPE |
static MimeType |
XDIJSONQuadWriter.MIME_TYPE |
static MimeType |
XDIKeyValueWriter.MIME_TYPE |
Copyright © 2015. All Rights Reserved.