org.ztemplates.render
Annotation Type ZExpose


@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface ZExpose

Marker for exposed bean properties. Can be applied to public bean getters and public fields. If render=true the value will be rendered and exposed as a String under the name of the bean property. A second value with name propertyName + "Bean" will be exposed containing the original (unrendered) bean property. Allowed methods must have one of the following signatures


Optional Element Summary
 boolean render
          set this to true to expose the rendered value to the renderer
 

render

public abstract boolean render
set this to true to expose the rendered value to the renderer

Returns:
Default:
false


Copyright © 2011. All Rights Reserved.