Returns a new instance of HtmlView with the same properties of this object but with preEncoding set to the value of preEncoding parameter. @param preEncoding If true, the view will preEncode static HTML blocks.
(boolean preEncoding)
| 157 | * @param preEncoding If true, the view will preEncode static HTML blocks. |
| 158 | */ |
| 159 | public HtmlView<M> setPreEncoding(boolean preEncoding) { |
| 160 | return HtmlFlow.view( |
| 161 | template, |
| 162 | getVisitor().isIndented, |
| 163 | threadSafe, |
| 164 | preEncoding, |
| 165 | false |
| 166 | ); |
| 167 | } |
| 168 | } |