MCPcopy Create free account
hub / github.com/xmlet/HtmlFlow / setPreEncoding

Method setPreEncoding

htmlflow-core/src/main/java/htmlflow/HtmlView.java:159–167  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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}

Calls 2

viewMethod · 0.95
getVisitorMethod · 0.95