public class ProcessTextNodesDocumentProcessor extends AbstractDocumentProcessor
Subclass of AbstractDocumentProcessor used for setting to true the flag
that tells the Thymeleaf engine to process Text and
CDATASection nodes.
By default, only nodes of type Element are processed in a
document.
This is done by returning a ProcessorResult instance with its
ProcessorResult.setProcessTextNodes(boolean) flag set
to true.
| Constructor and Description |
|---|
ProcessTextNodesDocumentProcessor() |
ProcessTextNodesDocumentProcessor(IDocumentNodeProcessorMatcher matcher) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecedence() |
protected ProcessorResult |
processDocumentNode(Arguments arguments,
Document documentNode) |
doProcess, getMatchercompareTo, getMessage, getMessageForProcessor, getMessageForTemplate, processpublic ProcessTextNodesDocumentProcessor()
public ProcessTextNodesDocumentProcessor(IDocumentNodeProcessorMatcher matcher)
public int getPrecedence()
getPrecedence in class AbstractProcessorprotected ProcessorResult processDocumentNode(Arguments arguments, Document documentNode)
processDocumentNode in class AbstractDocumentProcessorCopyright © 2016 The THYMELEAF team. All rights reserved.