Class CompoundDisplayValueHandler
java.lang.Object
ch.tocco.nice2.model.base.spi.display.CompoundDisplayValueHandler
Creates a Display-Value which is build by multiple xml-tags.
Example:
Using:
Example:
<label<
<script>...</script>
<constant>: </constant>
</label>
will create a single display-value. Using:
@Element("label")
public CompoundDisplayValueHandler label() {
return new CompoundDisplayValueHandler(displayFactory, new Closure<Void, DisplayValue>() {
public Void call(DisplayValue displayValue) {
label = displayValue;
return null;
}
});
}
-
Constructor Summary
ConstructorDescriptionCompoundDisplayValueHandler
(DisplayValueFactory factory, Closure<Void, DisplayValue> toSet) -
Method Summary
-
Constructor Details
-
CompoundDisplayValueHandler
-
-
Method Details
-
tag
@AnyElement @Cardinality(min=1, max=2147483647) public void tag(@ElementName String tagName, @Content String value) -
finish
-