org.thymeleaf.templateparser.xmldom
Class XhtmlValidatingDOMTemplateParser
Object
org.thymeleaf.templateparser.xmldom.AbstractNonValidatingDOMTemplateParser
org.thymeleaf.templateparser.xmldom.AbstractValidatingDOMTemplateParser
org.thymeleaf.templateparser.xmldom.XhtmlValidatingDOMTemplateParser
- All Implemented Interfaces:
- ITemplateParser
public final class XhtmlValidatingDOMTemplateParser
- extends AbstractValidatingDOMTemplateParser
Parses XML documents, using a standard non-validating DOM parser.
This implementation first builds a DOM tree using the
standard DOM API, and then translates this tree into a
Thymeleaf-specific one. It also populates tree nodes with
basic location information (document name only).
- Since:
- 2.0.0
- Author:
- Daniel Fernández
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XhtmlValidatingDOMTemplateParser
public XhtmlValidatingDOMTemplateParser(int poolSize)
wrapFragment
protected String wrapFragment(String fragment)
- Specified by:
wrapFragment
in class AbstractNonValidatingDOMTemplateParser
unwrapFragment
protected List<Node> unwrapFragment(Document document)
- Specified by:
unwrapFragment
in class AbstractNonValidatingDOMTemplateParser
Copyright © 2013 The THYMELEAF team. All Rights Reserved.