Class RequirejsTemplateConfigContributor
- java.lang.Object
-
- net.sf.jasperreports.interactivity.util.RequirejsTemplateConfigContributor
-
- All Implemented Interfaces:
RequirejsConfigContributor
public class RequirejsTemplateConfigContributor extends Object implements RequirejsConfigContributor
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description RequirejsTemplateConfigContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPath(String key, String path)
void
addResourcePath(String key, String resource)
void
contribute(WebRequestContext context, com.fasterxml.jackson.databind.node.ObjectNode config)
String
getTemplateName()
protected void
mergeObject(com.fasterxml.jackson.databind.node.ObjectNode dest, com.fasterxml.jackson.databind.node.ObjectNode source)
protected com.fasterxml.jackson.databind.node.ObjectNode
parseTemplateConfig(String configString)
void
setTemplateName(String templateName)
-
-
-
Method Detail
-
contribute
public void contribute(WebRequestContext context, com.fasterxml.jackson.databind.node.ObjectNode config)
- Specified by:
contribute
in interfaceRequirejsConfigContributor
-
parseTemplateConfig
protected com.fasterxml.jackson.databind.node.ObjectNode parseTemplateConfig(String configString)
-
mergeObject
protected void mergeObject(com.fasterxml.jackson.databind.node.ObjectNode dest, com.fasterxml.jackson.databind.node.ObjectNode source)
-
getTemplateName
public String getTemplateName()
-
setTemplateName
public void setTemplateName(String templateName)
-
-