public abstract class AbstractCDATASectionProcessor extends AbstractProcessor implements ICDATASectionProcessor
Basic abstract implementation of ICDATASectionProcessor.
This abstract implementation takes care of correct exception handling so that subclasses don't have to.
| Constructor and Description |
|---|
AbstractCDATASectionProcessor(TemplateMode templateMode,
int precedence) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doProcess(ITemplateContext context,
ICDATASection cdataSection,
ICDATASectionStructureHandler structureHandler) |
void |
process(ITemplateContext context,
ICDATASection cdataSection,
ICDATASectionStructureHandler structureHandler)
Execute the processor.
|
getPrecedence, getTemplateModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrecedence, getTemplateModepublic AbstractCDATASectionProcessor(TemplateMode templateMode, int precedence)
public final void process(ITemplateContext context, ICDATASection cdataSection, ICDATASectionStructureHandler structureHandler)
ICDATASectionProcessorExecute the processor.
The ICDATASection object argument is immutable, so all modifications to this object or any
instructions to be given to the engine should be done through the specified
ICDATASectionStructureHandler handler.
process in interface ICDATASectionProcessorcontext - the execution context.cdataSection - the event this processor is executing on.structureHandler - the handler that will centralise modifications and commands to the engine.protected abstract void doProcess(ITemplateContext context, ICDATASection cdataSection, ICDATASectionStructureHandler structureHandler)
Copyright © 2016 The THYMELEAF team. All rights reserved.