@Deprecated public final class XmlValidatingDOMTemplateParser 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).
Constructor and Description |
---|
XmlValidatingDOMTemplateParser(int poolSize)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected List<Node> |
unwrapFragment(Document document)
Deprecated.
|
protected String |
wrapFragment(String fragment)
Deprecated.
|
getPool, shouldAddThymeleafRootToParser
createDocumentBuilders, getNonValidatingPool, getTemplatePreprocessingReader, parseFragment, parseTemplate, parseTemplateUsingPool
public XmlValidatingDOMTemplateParser(int poolSize)
protected String wrapFragment(String fragment)
wrapFragment
in class AbstractNonValidatingDOMTemplateParser
protected List<Node> unwrapFragment(Document document)
unwrapFragment
in class AbstractNonValidatingDOMTemplateParser
Copyright © 2016 The THYMELEAF team. All rights reserved.