public abstract class AbstractHtmlTemplateParser extends Object implements org.thymeleaf.templateparser.ITemplateParser
Document parser implementation for non-XML HTML documents.
Modifier | Constructor and Description |
---|---|
protected |
AbstractHtmlTemplateParser(String templateModeName,
int poolSize) |
Modifier and Type | Method and Description |
---|---|
protected org.thymeleaf.templateparser.TemplatePreprocessingReader |
getTemplatePreprocessingReader(Reader reader) |
List<org.thymeleaf.dom.Node> |
parseFragment(org.thymeleaf.Configuration configuration,
String fragment) |
org.thymeleaf.dom.Document |
parseTemplate(org.thymeleaf.Configuration configuration,
String documentName,
Reader reader) |
protected boolean |
shouldAddThymeleafRootToParser() |
protected abstract List<org.thymeleaf.dom.Node> |
unwrapFragment(org.thymeleaf.dom.Document document) |
protected abstract String |
wrapFragment(String fragment) |
protected AbstractHtmlTemplateParser(String templateModeName, int poolSize)
public final org.thymeleaf.dom.Document parseTemplate(org.thymeleaf.Configuration configuration, String documentName, Reader reader)
parseTemplate
in interface org.thymeleaf.templateparser.ITemplateParser
public final List<org.thymeleaf.dom.Node> parseFragment(org.thymeleaf.Configuration configuration, String fragment)
parseFragment
in interface org.thymeleaf.templateparser.ITemplateParser
protected abstract List<org.thymeleaf.dom.Node> unwrapFragment(org.thymeleaf.dom.Document document)
protected boolean shouldAddThymeleafRootToParser()
protected org.thymeleaf.templateparser.TemplatePreprocessingReader getTemplatePreprocessingReader(Reader reader)
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.