Returns the value of the template parameter with the specified name.
The template parameters should be declared within the template's properties (see Template Properties dialog).
The values of template parameters are represented by instances of the following Java types:
Parameter Type | Representing Java Class |
string |
java.lang.String |
number |
java.lang.Number |
integer |
java.lang.Integer |
boolean |
java.lang.Boolean |
enum |
java.lang.String |
text |
java.lang.String |
object |
java.lang.Object |
GOMElement |
xyz.flexdoc.api.generator.GOMElement |
Additionally, parameter value can be an array of any of the above types.
Parameters:
paramName
If the template has no parameter with that name, an error will be raised.
Note: The parameter name may be omitted only when this function is called within enabling conditions found in the definition of a template parameter. That will mean the access to the value of this very parameter itself (being defined).
getStringParam(), getNumberParam(), getIntParam(),
getBooleanParam(), getElementParam(), getArrayParam(), hasParamValue()