|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.jsf.context.JRFacesContext
public abstract class JRFacesContext
The specific plugin's faces' context.
Field Summary | |
---|---|
protected static String |
INSTANCE_KEY
Singleton instance key. |
Constructor Summary | |
---|---|
JRFacesContext()
|
Method Summary | |
---|---|
abstract ReportConverter |
createReportConverter(javax.faces.context.FacesContext context,
UIReport component)
|
abstract Resource |
createResource(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String name)
Creates a new report instance. |
abstract SourceConverter |
createSourceConverter(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Instantiates a source converter appropiate for the given component. |
abstract Collection<String> |
getAvailableExportFormats()
Collection of availbale export formats. |
abstract Collection<String> |
getAvailableSourceTypes()
Collection of available source types. |
abstract Exporter |
getExporter(javax.faces.context.FacesContext context,
UIReport component)
Obtains the report's exporter instance. |
abstract ExternalContextHelper |
getExternalContextHelper(javax.faces.context.FacesContext context)
Obtains the external context helper instance. |
abstract Filler |
getFiller(javax.faces.context.FacesContext context,
UIReport component)
Obtains the report's filler instance. |
static JRFacesContext |
getInstance(javax.faces.context.FacesContext context)
Obtains a singleton context instance. |
abstract Collection<ContentType> |
getSupportedContentTypes()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String INSTANCE_KEY
Constructor Detail |
---|
public JRFacesContext()
Method Detail |
---|
public static JRFacesContext getInstance(javax.faces.context.FacesContext context)
context
- current faces' context.
public abstract Collection<String> getAvailableSourceTypes()
public abstract Collection<String> getAvailableExportFormats()
public abstract Collection<ContentType> getSupportedContentTypes()
public abstract ExternalContextHelper getExternalContextHelper(javax.faces.context.FacesContext context)
context
- current faces' context.
public abstract SourceConverter createSourceConverter(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
context
- current faces' context.component
- the component which is asking the source converter.
public abstract ReportConverter createReportConverter(javax.faces.context.FacesContext context, UIReport component)
public abstract Resource createResource(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String name)
context
- current faces' context.component
- a report component.name
- resource name.
public abstract Filler getFiller(javax.faces.context.FacesContext context, UIReport component)
context
- current faces' context.component
- the report component.
public abstract Exporter getExporter(javax.faces.context.FacesContext context, UIReport component)
context
- current faces' context.component
- the report component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |