|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.JRPropertiesMap
public class JRPropertiesMap
Properties map of an JR element.
The order of the properties (obtained bygetPropertyNames()
is the same as the order in which the properties were added.
Constructor Summary | |
---|---|
JRPropertiesMap()
Creates a properties map. |
|
JRPropertiesMap(JRPropertiesMap propertiesMap)
Clones a properties map. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
JRPropertiesMap |
cloneProperties()
Clones this property map. |
boolean |
containsProperty(java.lang.String propName)
Decides whether the map contains a specified property. |
static JRPropertiesMap |
getPropertiesClone(JRPropertiesHolder propertiesHolder)
Clones the properties map of a properties holder. |
java.lang.String |
getProperty(java.lang.String propName)
Returns the value of a property. |
java.lang.String[] |
getPropertyNames()
Returns the names of the properties. |
boolean |
hasProperties()
Checks whether there are any properties. |
void |
removeProperty(java.lang.String propName)
Removes a property. |
void |
setProperty(java.lang.String propName,
java.lang.String value)
Adds/sets a property value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JRPropertiesMap()
public JRPropertiesMap(JRPropertiesMap propertiesMap)
propertiesMap
- the original properties mapMethod Detail |
---|
public java.lang.String[] getPropertyNames()
public java.lang.String getProperty(java.lang.String propName)
propName
- the name of the property
public boolean containsProperty(java.lang.String propName)
propName
- the property name
true
iff the map contains the propertypublic void setProperty(java.lang.String propName, java.lang.String value)
propName
- the name of the propertyvalue
- the value of the propertypublic void removeProperty(java.lang.String propName)
propName
- the property namepublic JRPropertiesMap cloneProperties()
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean hasProperties()
public static JRPropertiesMap getPropertiesClone(JRPropertiesHolder propertiesHolder)
propertiesHolder
- the properties holder
null
if the holder does not have any properties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |