Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.render
Class AbstractRendererMaker

    java.lang.Object
      org.apache.fop.render.AbstractRendererMaker

Direct Known Subclasses:
  AWTRendererMaker, PNGRendererMaker, PrintRendererMaker, TIFFRendererMaker, TXTRendererMaker, XMLRendererMaker

    public abstract class AbstractRendererMaker

extends java.lang.Object

Base class for factory classes which instantiate Renderers and provide information about them.

Constructor Summary
`AbstractRendererMaker()`

Method Summary
`abstract void` | `configureRenderer(FOUserAgent userAgent, Renderer renderer)` Configures a given renderer using the appropriate configurator.
`abstract java.lang.String[]` | `getSupportedMimeTypes()`
`boolean` | `isMimeTypeSupported(java.lang.String mimeType)` Indicates whether a specific MIME type is supported by this renderer.
`abstract Renderer` | `makeRenderer(FOUserAgent userAgent)` Instantiates a new renderer.
`abstract boolean` | `needsOutputStream()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AbstractRendererMaker

    public AbstractRendererMaker()

Method Detail

### makeRenderer

    public abstract Renderer makeRenderer(FOUserAgent userAgent)

  Instantiates a new renderer.

  Parameters:
    `userAgent` - the user agent
  Returns:
    the newly instantiated renderer

### needsOutputStream

    public abstract boolean needsOutputStream()

  Returns:
    Indicates whether this renderer requires an OutputStream to work with.

### getSupportedMimeTypes

    public abstract java.lang.String[] getSupportedMimeTypes()

  Returns:
    an array of MIME types the renderer supports.

### configureRenderer

    public abstract void configureRenderer(FOUserAgent userAgent,
                                           Renderer renderer)
                                    throws FOPException

  Configures a given renderer using the appropriate configurator.

  Parameters:
    `userAgent` - user agent
    `renderer` - the renderer that is to be configured
  Throws:
    `FOPException`

### isMimeTypeSupported

    public boolean isMimeTypeSupported(java.lang.String mimeType)

  Indicates whether a specific MIME type is supported by this renderer.

  Parameters:
    `mimeType` - the MIME type (ex. "application/pdf")
  Returns:
    true if the MIME type is supported

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.