com.dtolabs.rundeck.core.resources.format
Class ResourceXMLFormatGenerator
java.lang.Object
com.dtolabs.rundeck.core.resources.format.ResourceXMLFormatGenerator
- All Implemented Interfaces:
- ResourceFormatGenerator
public class ResourceXMLFormatGenerator
- extends java.lang.Object
- implements ResourceFormatGenerator
ResourceXMLFormatGenerator is ...
Method Summary |
void |
generateDocument(INodeSet nodeset,
java.io.OutputStream stream)
generate formatted output |
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 |
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
ResourceXMLFormatGenerator
public ResourceXMLFormatGenerator()
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