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