org.thymeleaf.processor.document
Class AbstractDocumentProcessor
Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.document.AbstractDocumentProcessor
- All Implemented Interfaces:
- Comparable<IProcessor>, IProcessor
- Direct Known Subclasses:
- ProcessAllNodesDocumentProcessor, ProcessCommentNodesDocumentProcessor, ProcessTextNodesDocumentProcessor
public abstract class AbstractDocumentProcessor
- extends AbstractProcessor
Base IProcessor implementation for processors
that should apply to a Document DOM node (usually
for initializing DOM processing parameters or variables.
One common example of these uses is represented by ProcessAllNodesDocumentProcessor,
which is designed for setting to true the flag that tells the Thymeleaf engine to
process all nodes (and not only nodes of type Element).
- Since:
- 2.0.13
- Author:
- Daniel Fernández
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDocumentProcessor
protected AbstractDocumentProcessor(IDocumentNodeProcessorMatcher matcher)
getMatcher
public IProcessorMatcher<? extends Document> getMatcher()
- Description copied from interface:
IProcessor
Returns the matcher (IProcessorMatcher) that
defines the applicability of this processor.
- Returns:
- the matcher.
doProcess
protected final ProcessorResult doProcess(Arguments arguments,
ProcessorMatchingContext processorMatchingContext,
Node node)
- Specified by:
doProcess in class AbstractProcessor
processDocumentNode
protected abstract ProcessorResult processDocumentNode(Arguments arguments,
Document documentNode)
Copyright © 2013 The THYMELEAF team. All Rights Reserved.