|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.app.OutputTargetFactory
public final class OutputTargetFactory
Utility class used to create output targets.
Method Summary | |
---|---|
static OutputTargetType |
getRendererType(String format)
Converts a String description of the desired Renderer to a valid renderer code. |
static org.axsl.output.OutputTarget |
makeOutputTarget(OutputTargetType rendererType,
OutputConfig outputOptions,
OutputStream outputStream,
org.apache.commons.logging.Log logger,
org.axsl.graphic.GraphicServer graphicServer)
Factory method that makes a new Renderer instance for the standard renderers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.axsl.output.OutputTarget makeOutputTarget(OutputTargetType rendererType, OutputConfig outputOptions, OutputStream outputStream, org.apache.commons.logging.Log logger, org.axsl.graphic.GraphicServer graphicServer) throws FOrayException
rendererType
- The integral id for the Renderer that should be
used. Must be one of:
outputOptions
- Map containing the options to be used with the
Renderer.outputStream
- The output stream to which the target will be
written.logger
- The logger.graphicServer
- The GraphicServer to be used for output targets that
create a graphic (like the SVG Renderer).
FOrayException
- For errors creating the target.public static OutputTargetType getRendererType(String format)
format
- The String description of the desired Renderer, either
a mime type or a standard description.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |