org.thymeleaf.templateparser.xmlsax
Class XhtmlAndHtml5NonValidatingSAXTemplateParser
Object
org.thymeleaf.templateparser.xmlsax.AbstractNonValidatingSAXTemplateParser
org.thymeleaf.templateparser.xmlsax.XhtmlAndHtml5NonValidatingSAXTemplateParser
- All Implemented Interfaces:
- ITemplateParser
public final class XhtmlAndHtml5NonValidatingSAXTemplateParser
- extends AbstractNonValidatingSAXTemplateParser
Parses XML documents, using a standard SAX parser.
This implementation populates tree nodes with detailed location
information (document name and line number).
- Since:
- 2.0.0
- Author:
- Guven Demir, Daniel Fernández
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XhtmlAndHtml5NonValidatingSAXTemplateParser
public XhtmlAndHtml5NonValidatingSAXTemplateParser(int poolSize)
wrapFragment
protected final String wrapFragment(String fragment)
- Specified by:
wrapFragment
in class AbstractNonValidatingSAXTemplateParser
unwrapFragment
protected final List<Node> unwrapFragment(Document document)
- Specified by:
unwrapFragment
in class AbstractNonValidatingSAXTemplateParser
Copyright © 2013 The THYMELEAF team. All Rights Reserved.