Package org.thymeleaf.util
Class ProcessorConfigurationUtils.CommentProcessorWrapper
- java.lang.Object
-
- org.thymeleaf.util.ProcessorConfigurationUtils.AbstractProcessorWrapper
-
- org.thymeleaf.util.ProcessorConfigurationUtils.CommentProcessorWrapper
-
- All Implemented Interfaces:
IAttributeDefinitionsAware,IElementDefinitionsAware,ICommentProcessor,IProcessor
- Enclosing class:
- ProcessorConfigurationUtils
static final class ProcessorConfigurationUtils.CommentProcessorWrapper extends ProcessorConfigurationUtils.AbstractProcessorWrapper implements ICommentProcessor
-
-
Field Summary
Fields Modifier and Type Field Description private ICommentProcessorprocessor
-
Constructor Summary
Constructors Constructor Description CommentProcessorWrapper(ICommentProcessor processor, IProcessorDialect dialect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(ITemplateContext context, IComment comment, ICommentStructureHandler structureHandler)Execute the processor.-
Methods inherited from class org.thymeleaf.util.ProcessorConfigurationUtils.AbstractProcessorWrapper
getDialect, getDialectPrecedence, getPrecedence, getTemplateMode, setAttributeDefinitions, setElementDefinitions, toString, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
-
-
-
Field Detail
-
processor
private final ICommentProcessor processor
-
-
Constructor Detail
-
CommentProcessorWrapper
CommentProcessorWrapper(ICommentProcessor processor, IProcessorDialect dialect)
-
-
Method Detail
-
process
public void process(ITemplateContext context, IComment comment, ICommentStructureHandler structureHandler)
Description copied from interface:ICommentProcessorExecute the processor.
The
ICommentobject argument is immutable, so all modifications to this object or any instructions to be given to the engine should be done through the specifiedICommentStructureHandlerhandler.- Specified by:
processin interfaceICommentProcessor- Parameters:
context- the execution context.comment- the event this processor is executing on.structureHandler- the handler that will centralise modifications and commands to the engine.
-
-