public JRPropertiesMap getPropertiesMap() { if (propertiesMap == null) { propertiesMap = new JRPropertiesMap(); } return propertiesMap; }
/** * */ protected JRBaseParameter() { propertiesMap = new JRPropertiesMap(); }
protected JRBaseDataset(boolean isMain) { this.isMain = isMain; propertiesMap = new JRPropertiesMap(); }
/** * */ protected JRBaseScriptlet() { propertiesMap = new JRPropertiesMap(); }
/** * */ protected JRBaseField() { this.propertiesMap = new JRPropertiesMap(); }
public synchronized JRPropertiesMap getPropertiesMap() { if (propertiesMap == null) { propertiesMap = new JRPropertiesMap(); } return propertiesMap; }
public synchronized JRPropertiesMap getPropertiesMap() { if (propertiesMap == null) { propertiesMap = new JRPropertiesMap(); } return propertiesMap; }
/** * Clones this property map. * * @return a clone of this property map */ public JRPropertiesMap cloneProperties() { return new JRPropertiesMap(this); }
/** * Creates a new empty document. */ public JasperPrint() { defaultStyleProvider = new DefaultStyleProvider(null, null); propertiesMap = new JRPropertiesMap(); }
stream.close(); JRPropertiesMap properties = new JRPropertiesMap(); for (Enumeration names = props.propertyNames(); names.hasMoreElements(); )
public synchronized JRPropertiesMap getPropertiesMap() { if (properties == null) { //FIXME avoid this on read only calls properties = new JRPropertiesMap(); if (template.hasProperties()) { properties.setBaseProperties(template.getPropertiesMap()); } } return properties; }
protected void evaluateProperties(byte evaluation) throws JRException { JRPropertyExpression[] propExprs = getPropertyExpressions(); if (propExprs == null || propExprs.length == 0) { dynamicProperties = null; mergedProperties = staticProperties; } else { dynamicProperties = new JRPropertiesMap(); for (int i = 0; i < propExprs.length; i++) { JRPropertyExpression prop = propExprs[i]; String value = (String) evaluateExpression(prop.getValueExpression(), evaluation); if (value != null) { dynamicProperties.setProperty(prop.getName(), value); } } mergedProperties = dynamicProperties.cloneProperties(); mergedProperties.setBaseProperties(staticProperties); } }