org.thymeleaf.processor.text
Class AbstractTextNodeProcessor

Object
  extended by org.thymeleaf.processor.AbstractProcessor
      extended by org.thymeleaf.processor.text.AbstractTextNodeProcessor
All Implemented Interfaces:
Comparable<IProcessor>, IProcessor
Direct Known Subclasses:
StandardTextInliningTextProcessor

public abstract class AbstractTextNodeProcessor
extends AbstractProcessor

Since:
2.0.0
Author:
Daniel Fernández

Constructor Summary
AbstractTextNodeProcessor(ITextNodeProcessorMatcher matcher)
           
 
Method Summary
protected  ProcessorResult doProcess(Arguments arguments, ProcessorMatchingContext processorMatchingContext, Node node)
           
 IProcessorMatcher<? extends AbstractTextNode> getMatcher()
           Returns the matcher (IProcessorMatcher) that defines the applicability of this processor.
protected abstract  ProcessorResult processTextNode(Arguments arguments, AbstractTextNode textNode)
           
 
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, getPrecedence, process
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTextNodeProcessor

public AbstractTextNodeProcessor(ITextNodeProcessorMatcher matcher)
Method Detail

getMatcher

public final IProcessorMatcher<? extends AbstractTextNode> 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

processTextNode

protected abstract ProcessorResult processTextNode(Arguments arguments,
                                                   AbstractTextNode textNode)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.