public OutputFormat getOutputFormat() { return outputFormat != null ? outputFormat : wrappedPCfg.getOutputFormat(); }
if (pCfg.getOutputFormat() != outputFormat) { pCfg = new _ParserConfigurationWithInheritedFormat( pCfg, outputFormat, Integer.valueOf(autoEscapingPolicy));
/** * @Deprecated This is an internal API of FreeMarker; will be changed in 2.4. */ public FMParser(Template template, Reader reader, boolean strictSyntaxMode, boolean whitespaceStripping, int tagSyntax, int namingConvention, int incompatibleImprovements) { this(template, reader, new LegacyConstructorParserConfiguration( strictSyntaxMode, whitespaceStripping, tagSyntax, LEGACY_INTERPOLATION_SYNTAX, namingConvention, template != null ? template.getParserConfiguration().getAutoEscapingPolicy() : Configuration.ENABLE_IF_DEFAULT_AUTO_ESCAPING_POLICY, template != null ? template.getParserConfiguration().getOutputFormat() : null, template != null ? template.getParserConfiguration().getRecognizeStandardFileExtensions() : null, template != null ? template.getParserConfiguration().getTabSize() : null, new Version(incompatibleImprovements), template != null ? template.getArithmeticEngine() : null)); }
ParserConfiguration pCfg = parentTemplate.getParserConfiguration(); if (pCfg.getOutputFormat() != outputFormat) { pCfg = new _ParserConfigurationWithInheritedFormat( pCfg, outputFormat, Integer.valueOf(autoEscapingPolicy));
|| (outputFormatFromExt = getFormatFromStdFileExt()) == null) { autoEscapingPolicy = pCfg.getAutoEscapingPolicy(); outputFormat = pCfg.getOutputFormat(); } else {
public OutputFormat getOutputFormat() { return outputFormat != null ? outputFormat : wrappedPCfg.getOutputFormat(); }
public OutputFormat getOutputFormat() { return outputFormat != null ? outputFormat : wrappedPCfg.getOutputFormat(); }
if (pCfg.getOutputFormat() != outputFormat) { pCfg = new _ParserConfigurationWithInheritedFormat( pCfg, outputFormat, Integer.valueOf(autoEscapingPolicy));
if (pCfg.getOutputFormat() != outputFormat) { pCfg = new _ParserConfigurationWithInheritedFormat( pCfg, outputFormat, Integer.valueOf(autoEscapingPolicy));
/** * @Deprecated This is an internal API of FreeMarker; will be changed in 2.4. */ public FMParser(Template template, Reader reader, boolean strictSyntaxMode, boolean whitespaceStripping, int tagSyntax, int namingConvention, int incompatibleImprovements) { this(template, reader, new LegacyConstructorParserConfiguration( strictSyntaxMode, whitespaceStripping, tagSyntax, LEGACY_INTERPOLATION_SYNTAX, namingConvention, template != null ? template.getParserConfiguration().getAutoEscapingPolicy() : Configuration.ENABLE_IF_DEFAULT_AUTO_ESCAPING_POLICY, template != null ? template.getParserConfiguration().getOutputFormat() : null, template != null ? template.getParserConfiguration().getRecognizeStandardFileExtensions() : null, template != null ? template.getParserConfiguration().getTabSize() : null, new Version(incompatibleImprovements), template != null ? template.getArithmeticEngine() : null)); }
/** * @Deprecated This is an internal API of FreeMarker; will be changed in 2.4. */ public FMParser(Template template, Reader reader, boolean strictSyntaxMode, boolean whitespaceStripping, int tagSyntax, int namingConvention, int incompatibleImprovements) { this(template, reader, new LegacyConstructorParserConfiguration( strictSyntaxMode, whitespaceStripping, tagSyntax, LEGACY_INTERPOLATION_SYNTAX, namingConvention, template != null ? template.getParserConfiguration().getAutoEscapingPolicy() : Configuration.ENABLE_IF_DEFAULT_AUTO_ESCAPING_POLICY, template != null ? template.getParserConfiguration().getOutputFormat() : null, template != null ? template.getParserConfiguration().getRecognizeStandardFileExtensions() : null, template != null ? template.getParserConfiguration().getTabSize() : null, new Version(incompatibleImprovements), template != null ? template.getArithmeticEngine() : null)); }
ParserConfiguration pCfg = parentTemplate.getParserConfiguration(); if (pCfg.getOutputFormat() != outputFormat) { pCfg = new _ParserConfigurationWithInheritedFormat( pCfg, outputFormat, Integer.valueOf(autoEscapingPolicy));
ParserConfiguration pCfg = parentTemplate.getParserConfiguration(); if (pCfg.getOutputFormat() != outputFormat) { pCfg = new _ParserConfigurationWithInheritedFormat( pCfg, outputFormat, Integer.valueOf(autoEscapingPolicy));
|| (outputFormatFromExt = getFormatFromStdFileExt()) == null) { autoEscapingPolicy = pCfg.getAutoEscapingPolicy(); outputFormat = pCfg.getOutputFormat(); } else {
|| (outputFormatFromExt = getFormatFromStdFileExt()) == null) { autoEscapingPolicy = pCfg.getAutoEscapingPolicy(); outputFormat = pCfg.getOutputFormat(); } else {