public class RendererFactory extends Object
IRenderer
objects based on a MIME type. For known MIME
types, the factory returns an instance of an IRenderer
capable of
rendering for that MIME type. The instance will then decide whether or not it
can render the requested ReportEnum
as not all report types can be
rendered for all MIME types. For example, a request for a graph of the event
data will fail if the MIME type is text/plain
.Constructor and Description |
---|
RendererFactory() |
Modifier and Type | Method and Description |
---|---|
static IRenderer |
get(URLQueryModel model,
ICounterSelector counterSelector,
String defaultMimeType) |
public static IRenderer get(URLQueryModel model, ICounterSelector counterSelector, String defaultMimeType)
model
- Describes the state of the controller (e.g., as parsed from
the URL query parameters).counterSelector
- Selects the counters to be rendered.defaultMimeType
- The negotiated or default MIME type. This can be overridden
using .IRenderer
for that MIME type.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.