public abstract class AbstractElementModelProcessor extends AbstractProcessor implements IElementModelProcessor
Basic abstract implementation of IElementModelProcessor
for processors that match element
events by their element name (i.e. without looking at any attributes).
Constructor and Description |
---|
AbstractElementModelProcessor(IProcessorDialect dialect,
TemplateMode templateMode,
String dialectPrefix,
String elementName,
boolean prefixElementName,
String attributeName,
boolean prefixAttributeName,
int precedence) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doProcess(ITemplateContext context,
IModel model,
String modelTemplateName,
int modelLine,
int modelCol,
IElementModelStructureHandler structureHandler) |
MatchingAttributeName |
getMatchingAttributeName() |
MatchingElementName |
getMatchingElementName() |
void |
process(ITemplateContext context,
IModel model,
IElementModelStructureHandler structureHandler) |
getDialect, getPrecedence, getTemplateMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDialect, getPrecedence, getTemplateMode
public AbstractElementModelProcessor(IProcessorDialect dialect, TemplateMode templateMode, String dialectPrefix, String elementName, boolean prefixElementName, String attributeName, boolean prefixAttributeName, int precedence)
public final MatchingElementName getMatchingElementName()
getMatchingElementName
in interface IElementProcessor
public final MatchingAttributeName getMatchingAttributeName()
getMatchingAttributeName
in interface IElementProcessor
public final void process(ITemplateContext context, IModel model, IElementModelStructureHandler structureHandler)
process
in interface IElementModelProcessor
protected abstract void doProcess(ITemplateContext context, IModel model, String modelTemplateName, int modelLine, int modelCol, IElementModelStructureHandler structureHandler)
Copyright © 2015 The THYMELEAF team. All rights reserved.