
public class XDIJSONWriter extends AbstractXDIWriter
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_EXTENSION |
static String |
FORMAT_NAME |
static MimeType |
MIME_TYPE |
DEFAULT_CHARSET, parameters| Constructor and Description |
|---|
XDIJSONWriter(Properties parameters) |
| Modifier and Type | Method and Description |
|---|---|
Writer |
write(Graph graph,
Writer writer)
Writes an XDI graph to a character stream.
|
getFileExtension, getFormat, getMimeType, init, isWriteHtml, isWriteImplied, isWriteOrdered, isWritePretty, supportsFileExtension, supportsFormat, supportsMimeType, write, write, writepublic static final String FORMAT_NAME
public static final String FILE_EXTENSION
public static final MimeType MIME_TYPE
public XDIJSONWriter(Properties parameters)
public Writer write(Graph graph, Writer writer) throws IOException
XDIWritergraph - A graph that will be written to the stream.writer - The character stream to write to.IOExceptionCopyright © 2017. All rights reserved.