Class XmlChartThemeExtensionsRegistryFactory
- java.lang.Object
-
- net.sf.jasperreports.chartthemes.simple.XmlChartThemeExtensionsRegistryFactory
-
- All Implemented Interfaces:
ExtensionsRegistryFactory
public class XmlChartThemeExtensionsRegistryFactory extends Object implements ExtensionsRegistryFactory
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_XML_CHART_THEME_REGISTRY_FACTORY
static String
XML_CHART_THEME_PROPERTY_PREFIX
-
Constructor Summary
Constructors Constructor Description XmlChartThemeExtensionsRegistryFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ExtensionsRegistry
createRegistry(String registryId, JRPropertiesMap properties)
Instantiates an extensions registry.static void
saveToJar(ChartThemeSettings settings, String themeName, File file)
Deprecated.static void
saveToJar(JasperReportsContext jasperReportsContext, ChartThemeSettings settings, String themeName, File file)
-
-
-
Field Detail
-
XML_CHART_THEME_PROPERTY_PREFIX
public static final String XML_CHART_THEME_PROPERTY_PREFIX
- See Also:
- Constant Field Values
-
PROPERTY_XML_CHART_THEME_REGISTRY_FACTORY
public static final String PROPERTY_XML_CHART_THEME_REGISTRY_FACTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
createRegistry
public ExtensionsRegistry createRegistry(String registryId, JRPropertiesMap properties)
Description copied from interface:ExtensionsRegistryFactory
Instantiates an extensions registry.- Specified by:
createRegistry
in interfaceExtensionsRegistryFactory
- Parameters:
registryId
- the ID of the registry to instantiate. The ID can be used to identify a set of properties to be used when instantiating the registry.properties
- the map of properties that can be used to configure the registry instantiation process- Returns:
- an extensions registry
- See Also:
DefaultExtensionsRegistry.PROPERTY_REGISTRY_PREFIX
-
saveToJar
public static void saveToJar(ChartThemeSettings settings, String themeName, File file) throws IOException
Deprecated.- Throws:
IOException
-
saveToJar
public static void saveToJar(JasperReportsContext jasperReportsContext, ChartThemeSettings settings, String themeName, File file) throws IOException
- Throws:
IOException
-
-