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, getMatcher
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, process
public ProcessTextNodesDocumentProcessor()
public ProcessTextNodesDocumentProcessor(IDocumentNodeProcessorMatcher matcher)
public int getPrecedence()
getPrecedence
in class AbstractProcessor
protected ProcessorResult processDocumentNode(Arguments arguments, Document documentNode)
processDocumentNode
in class AbstractDocumentProcessor
Copyright © 2014 The THYMELEAF team. All rights reserved.