public class ResourceYamlFormatGenerator 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 |
---|
ResourceYamlFormatGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generateDocument(INodeSet nodeset,
java.io.OutputStream stream)
generate formatted output
|
Description |
getDescription()
Return the configuration description
|
java.util.Set<java.lang.String> |
getFileExtensions()
Return the list of file extensions that this format generator can generate
|
java.util.List<java.lang.String> |
getMIMETypes()
Return the list of MIME types that this format generator can generate.
|
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 java.util.Set<java.lang.String> getFileExtensions()
ResourceFormatGenerator
getFileExtensions
in interface ResourceFormatGenerator
public java.util.List<java.lang.String> getMIMETypes()
ResourceFormatGenerator
getMIMETypes
in interface ResourceFormatGenerator
public void generateDocument(INodeSet nodeset, java.io.OutputStream stream) throws ResourceFormatGeneratorException, java.io.IOException
ResourceFormatGenerator
generateDocument
in interface ResourceFormatGenerator
ResourceFormatGeneratorException
java.io.IOException
public Description getDescription()
Describable
getDescription
in interface Describable