public class ResourceJsonFormatGenerator extends java.lang.Object implements ResourceFormatGenerator, Describable
Modifier and Type | Field and Description |
---|---|
static java.util.Set<java.lang.String> |
EXTENSIONS |
static java.util.List<java.lang.String> |
MIME_TYPES |
static java.lang.String |
SERVICE_PROVIDER_TYPE |
Constructor and Description |
---|
ResourceJsonFormatGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generateDocument(INodeSet nodeset,
java.io.OutputStream stream)
generate formatted output
|
Description |
getDescription() |
java.util.Set<java.lang.String> |
getFileExtensions() |
java.util.List<java.lang.String> |
getMIMETypes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPreferredFileExtension, getPreferredMimeType
public static final java.lang.String SERVICE_PROVIDER_TYPE
public static final java.util.Set<java.lang.String> EXTENSIONS
public static final java.util.List<java.lang.String> MIME_TYPES
public Description getDescription()
getDescription
in interface Describable
public java.util.Set<java.lang.String> getFileExtensions()
getFileExtensions
in interface ResourceFormatGenerator
public java.util.List<java.lang.String> getMIMETypes()
getMIMETypes
in interface ResourceFormatGenerator
public void generateDocument(INodeSet nodeset, java.io.OutputStream stream) throws ResourceFormatGeneratorException
ResourceFormatGenerator
generateDocument
in interface ResourceFormatGenerator
nodeset
- nodesstream
- output streamResourceFormatGeneratorException
- on format error