| com.flexive.shared.scripting.groovy.GroovyContentBuilder
GroovyContentBuilder | public class GroovyContentBuilder extends BuilderSupport (Code) | |
A groovy builder for FxContent instances.
Example:
def builder = new GroovyContentBuilder("DOCUMENT")
builder {
title("Test article")
Abstract("My abstract text")
teaser {
teaser_title("Teaser title")
teaser_text("Teaser text")
}
box {
box_title(new FxString(false, "Box title 1"))
}
box {
box_title("Box title 2")
box_text("Some box text")
}
}
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev: 193 $ |
GroovyContentBuilder | public GroovyContentBuilder(FxContent content)(Code) | | Create a new content builder that operates on the given content instance.
Parameters: content - the target content |
getContent | public FxContent getContent()(Code) | | Return our content instance.
our content instance. |
|
|