Object | +--helma.Skin
Instances of this class represent a Helma skin. In addition
to the standard skin functionality this class allows creation of
a skin based on a Base64 encoded source.
Defined in Skin.js
| SUMMARY: Constructor | Properties | Methods | DETAIL: Constructor | Properties | Methods |
| Constructor Summary | |
helma.Skin(<String> source, <Boolean> encFlag)
Constructs a new instance of helma.Skin |
|
| Methods Summary | |
Boolean
|
containsMacro(<String> name, <String> handler)
Returns true if the skin contains a macro with the name and optional handler passed as argument. |
Object
|
render(<Object> param)
Renders the skin. |
String
|
renderAsString(<Object> param)
Returns the rendered skin. |
String
|
valueOf()
Returns the source of the skin as Base64 encoded string |
| Constructor Detail |
helma.Skin(<String> source, <Boolean> encFlag)
source - The source of the skin
encFlag - If true the source will be Base64-decoded.
| Method Detail |
Boolean containsMacro(<String> name, <String> handler)
name - The name of the macro
handler - An optional macro handler name
Object render(<Object> param)
param - An optional parameter object to pass to the skin.
String renderAsString(<Object> param)
param - An optional parameter object to pass to the skin.
String valueOf()
| SUMMARY: Constructor | Properties | Methods | DETAIL: Constructor | Properties | Methods |