Class RequirejsConfigTemplateExtensionFactory
- java.lang.Object
-
- net.sf.jasperreports.interactivity.util.RequirejsConfigTemplateExtensionFactory
-
- All Implemented Interfaces:
ExtensionsRegistryFactory
public class RequirejsConfigTemplateExtensionFactory extends Object implements ExtensionsRegistryFactory
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXTENSION_PROPERTY_ENABLED_PREFIX
static String
EXTENSION_PROPERTY_PATH_PREFIX
static String
EXTENSION_PROPERTY_RESOURCE_PREFIX
static String
EXTENSION_PROPERTY_TEMPLATE_PREFIX
static String
PROPERTY_ENABLED_PREFIX
-
Constructor Summary
Constructors Constructor Description RequirejsConfigTemplateExtensionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionsRegistry
createRegistry(String registryId, JRPropertiesMap properties)
Instantiates an extensions registry.protected void
setPaths(String registryId, JRPropertiesMap properties, RequirejsTemplateConfigContributor templateContributor)
protected void
setResources(String registryId, JRPropertiesMap properties, RequirejsTemplateConfigContributor templateContributor)
-
-
-
Field Detail
-
EXTENSION_PROPERTY_TEMPLATE_PREFIX
public static final String EXTENSION_PROPERTY_TEMPLATE_PREFIX
- See Also:
- Constant Field Values
-
EXTENSION_PROPERTY_ENABLED_PREFIX
public static final String EXTENSION_PROPERTY_ENABLED_PREFIX
- See Also:
- Constant Field Values
-
EXTENSION_PROPERTY_PATH_PREFIX
public static final String EXTENSION_PROPERTY_PATH_PREFIX
- See Also:
- Constant Field Values
-
EXTENSION_PROPERTY_RESOURCE_PREFIX
public static final String EXTENSION_PROPERTY_RESOURCE_PREFIX
- See Also:
- Constant Field Values
-
PROPERTY_ENABLED_PREFIX
public static final String PROPERTY_ENABLED_PREFIX
- 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
-
setPaths
protected void setPaths(String registryId, JRPropertiesMap properties, RequirejsTemplateConfigContributor templateContributor)
-
setResources
protected void setResources(String registryId, JRPropertiesMap properties, RequirejsTemplateConfigContributor templateContributor)
-
-