org.thymeleaf.processor.comment
Class AbstractCommentNodeProcessor

Object
  extended by org.thymeleaf.processor.AbstractProcessor
      extended by org.thymeleaf.processor.comment.AbstractCommentNodeProcessor
All Implemented Interfaces:
Comparable<IProcessor>, IProcessor

public abstract class AbstractCommentNodeProcessor
extends AbstractProcessor

Since:
2.0.15
Author:
Daniel Fernández

Constructor Summary
AbstractCommentNodeProcessor(ICommentNodeProcessorMatcher matcher)
           
 
Method Summary
protected  ProcessorResult doProcess(Arguments arguments, ProcessorMatchingContext processorMatchingContext, Node node)
           
 IProcessorMatcher<? extends Comment> getMatcher()
           Returns the matcher (IProcessorMatcher) that defines the applicability of this processor.
protected abstract  ProcessorResult processCommentNode(Arguments arguments, Comment commentNode)
           
 
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

AbstractCommentNodeProcessor

public AbstractCommentNodeProcessor(ICommentNodeProcessorMatcher matcher)
Method Detail

getMatcher

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

processCommentNode

protected abstract ProcessorResult processCommentNode(Arguments arguments,
                                                      Comment commentNode)


Copyright © 2013 The THYMELEAF team. All Rights Reserved.