public interface PropertySource
An instance of PropertySource (typically the Generator
can be queried for properties.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProperty(java.lang.String pName)
Returns the given property value or null, if the property is not
set.
|
java.lang.String |
getProperty(java.lang.String pName,
java.lang.String pDefault)
Returns the given property value.
|
void |
setProperty(java.lang.String pName,
java.lang.String pValue)
Sets the given property value.
|
java.lang.String getProperty(java.lang.String pName)
Returns the given property value or null, if the property is not set.
java.lang.String getProperty(java.lang.String pName, java.lang.String pDefault)
Returns the given property value. If the property is not set, returns the given default value.
void setProperty(java.lang.String pName, java.lang.String pValue)
Sets the given property value.