/** * Determines the interpolation syntax (like <code>${x}</code> VS <code>[=x]</code>) of the template files. Don't * confuse this with the tag syntax ({@link #setTagSyntax(int)}); they are independent. * * <p> * The {@code interpolationSyntax} parameter must be one of {@link Configuration#LEGACY_INTERPOLATION_SYNTAX}, * {@link Configuration#DOLLAR_INTERPOLATION_SYNTAX}, and {@link Configuration#SQUARE_BRACKET_INTERPOLATION_SYNTAX}. * Note that {@link Configuration#SQUARE_BRACKET_INTERPOLATION_SYNTAX} does <em>not</em> change {@code <#if x>} to * {@code [#if x]}; that's <em>tag</em> syntax, so use {@link #setTagSyntax(int)} for that. * * @see #setTagSyntax(int) * * @since 2.3.28 */ public void setInterpolationSyntax(int interpolationSyntax) { _TemplateAPI.valideInterpolationSyntaxValue(interpolationSyntax); this.interpolationSyntax = interpolationSyntax; }
/** * See {@link Configuration#setInterpolationSyntax(int)}. */ public void setInterpolationSyntax(int interpolationSyntax) { _TemplateAPI.valideInterpolationSyntaxValue(interpolationSyntax); this.interpolationSyntax = Integer.valueOf(interpolationSyntax); }
/** * Determines the interpolation syntax (like <code>${x}</code> VS <code>[=x]</code>) of the template files. Don't * confuse this with the tag syntax ({@link #setTagSyntax(int)}); they are independent. * * <p> * The {@code interpolationSyntax} parameter must be one of {@link Configuration#LEGACY_INTERPOLATION_SYNTAX}, * {@link Configuration#DOLLAR_INTERPOLATION_SYNTAX}, and {@link Configuration#SQUARE_BRACKET_INTERPOLATION_SYNTAX}. * Note that {@link Configuration#SQUARE_BRACKET_INTERPOLATION_SYNTAX} does <em>not</em> change {@code <#if x>} to * {@code [#if x]}; that's <em>tag</em> syntax, so use {@link #setTagSyntax(int)} for that. * * @see #setTagSyntax(int) * * @since 2.3.28 */ public void setInterpolationSyntax(int interpolationSyntax) { _TemplateAPI.valideInterpolationSyntaxValue(interpolationSyntax); this.interpolationSyntax = interpolationSyntax; }
/** * Determines the interpolation syntax (like <code>${x}</code> VS <code>[=x]</code>) of the template files. Don't * confuse this with the tag syntax ({@link #setTagSyntax(int)}); they are independent. * * <p> * The {@code interpolationSyntax} parameter must be one of {@link Configuration#LEGACY_INTERPOLATION_SYNTAX}, * {@link Configuration#DOLLAR_INTERPOLATION_SYNTAX}, and {@link Configuration#SQUARE_BRACKET_INTERPOLATION_SYNTAX}. * Note that {@link Configuration#SQUARE_BRACKET_INTERPOLATION_SYNTAX} does <em>not</em> change {@code <#if x>} to * {@code [#if x]}; that's <em>tag</em> syntax, so use {@link #setTagSyntax(int)} for that. * * @see #setTagSyntax(int) * * @since 2.3.28 */ public void setInterpolationSyntax(int interpolationSyntax) { _TemplateAPI.valideInterpolationSyntaxValue(interpolationSyntax); this.interpolationSyntax = interpolationSyntax; }
/** * See {@link Configuration#setInterpolationSyntax(int)}. */ public void setInterpolationSyntax(int interpolationSyntax) { _TemplateAPI.valideInterpolationSyntaxValue(interpolationSyntax); this.interpolationSyntax = Integer.valueOf(interpolationSyntax); }
/** * See {@link Configuration#setInterpolationSyntax(int)}. */ public void setInterpolationSyntax(int interpolationSyntax) { _TemplateAPI.valideInterpolationSyntaxValue(interpolationSyntax); this.interpolationSyntax = Integer.valueOf(interpolationSyntax); }