Class CompoundDisplayValueHandler

java.lang.Object
ch.tocco.nice2.model.base.spi.display.CompoundDisplayValueHandler

public final class CompoundDisplayValueHandler extends Object
Creates a Display-Value which is build by multiple xml-tags.
Example:
 
 <label<
 <script>...</script>
 <constant>: </constant>
 </label>
 
 
will create a single display-value.
Using:
 
 &commat;Element("label")
 public CompoundDisplayValueHandler label() {
     return new CompoundDisplayValueHandler(displayFactory, new Closure&lt;Void, DisplayValue&gt;() {
         public Void call(DisplayValue displayValue) {
             label = displayValue;
             return null;
         }
     });
 }