Package net.sf.jasperreports.engine.util
Class DelegatePropertiesHolder
- java.lang.Object
-
- net.sf.jasperreports.engine.util.DelegatePropertiesHolder
-
- All Implemented Interfaces:
JRPropertiesHolder
public class DelegatePropertiesHolder extends Object implements JRPropertiesHolder
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description DelegatePropertiesHolder(JRPropertiesHolder propertiesHolder, JRPropertiesHolder parentProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRPropertiesHolder
getParentProperties()
Returns the parent properties holder, whose properties are used as defaults for this object.JRPropertiesMap
getPropertiesMap()
Returns this object's properties map.boolean
hasProperties()
Checks whether the object has any properties.
-
-
-
Constructor Detail
-
DelegatePropertiesHolder
public DelegatePropertiesHolder(JRPropertiesHolder propertiesHolder, JRPropertiesHolder parentProperties)
-
-
Method Detail
-
hasProperties
public boolean hasProperties()
Description copied from interface:JRPropertiesHolder
Checks whether the object has any properties.- Specified by:
hasProperties
in interfaceJRPropertiesHolder
- Returns:
- whether the object has any properties
-
getPropertiesMap
public JRPropertiesMap getPropertiesMap()
Description copied from interface:JRPropertiesHolder
Returns this object's properties map.- Specified by:
getPropertiesMap
in interfaceJRPropertiesHolder
- Returns:
- this object's properties map
-
getParentProperties
public JRPropertiesHolder getParentProperties()
Description copied from interface:JRPropertiesHolder
Returns the parent properties holder, whose properties are used as defaults for this object.- Specified by:
getParentProperties
in interfaceJRPropertiesHolder
- Returns:
- the parent properties holder, or
null
if no parent
-
-