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 StringEXTENSION_PROPERTY_ENABLED_PREFIXstatic StringEXTENSION_PROPERTY_PATH_PREFIXstatic StringEXTENSION_PROPERTY_RESOURCE_PREFIXstatic StringEXTENSION_PROPERTY_TEMPLATE_PREFIXstatic StringPROPERTY_ENABLED_PREFIX
-
Constructor Summary
Constructors Constructor Description RequirejsConfigTemplateExtensionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionsRegistrycreateRegistry(String registryId, JRPropertiesMap properties)Instantiates an extensions registry.protected voidsetPaths(String registryId, JRPropertiesMap properties, RequirejsTemplateConfigContributor templateContributor)protected voidsetResources(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:ExtensionsRegistryFactoryInstantiates an extensions registry.- Specified by:
createRegistryin 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)
-
-