com.dtolabs.rundeck.core.resources.format
Class ResourceXMLFormatGenerator

java.lang.Object
  extended by com.dtolabs.rundeck.core.resources.format.ResourceXMLFormatGenerator
All Implemented Interfaces:
Describable, ResourceFormatGenerator

public class ResourceXMLFormatGenerator
extends java.lang.Object
implements ResourceFormatGenerator, Describable

ResourceXMLFormatGenerator is ...


Field Summary
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 Summary
ResourceXMLFormatGenerator()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_PROVIDER_TYPE

public static final java.lang.String SERVICE_PROVIDER_TYPE
See Also:
Constant Field Values

EXTENSIONS

public static final java.util.Set<java.lang.String> EXTENSIONS

MIME_TYPES

public static final java.util.List<java.lang.String> MIME_TYPES
Constructor Detail

ResourceXMLFormatGenerator

public ResourceXMLFormatGenerator()
Method Detail

getFileExtensions

public java.util.Set<java.lang.String> getFileExtensions()
Description copied from interface: ResourceFormatGenerator
Return the list of file extensions that this format generator can generate

Specified by:
getFileExtensions in interface ResourceFormatGenerator

getMIMETypes

public java.util.List<java.lang.String> getMIMETypes()
Description copied from interface: ResourceFormatGenerator
Return the list of MIME types that this format generator can generate. If more than one are returned, then the first value will be used by default if necessary.

Specified by:
getMIMETypes in interface ResourceFormatGenerator

generateDocument

public void generateDocument(INodeSet nodeset,
                             java.io.OutputStream stream)
                      throws ResourceFormatGeneratorException,
                             java.io.IOException
Description copied from interface: ResourceFormatGenerator
generate formatted output

Specified by:
generateDocument in interface ResourceFormatGenerator
Throws:
ResourceFormatGeneratorException
java.io.IOException

getDescription

public Description getDescription()
Description copied from interface: Describable
Return the configuration description

Specified by:
getDescription in interface Describable