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, getTemplateModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDialect, getPrecedence, getTemplateModepublic AbstractElementModelProcessor(IProcessorDialect dialect, TemplateMode templateMode, String dialectPrefix, String elementName, boolean prefixElementName, String attributeName, boolean prefixAttributeName, int precedence)
public final MatchingElementName getMatchingElementName()
getMatchingElementName in interface IElementProcessorpublic final MatchingAttributeName getMatchingAttributeName()
getMatchingAttributeName in interface IElementProcessorpublic final void process(ITemplateContext context, IModel model, IElementModelStructureHandler structureHandler)
process in interface IElementModelProcessorprotected abstract void doProcess(ITemplateContext context, IModel model, String modelTemplateName, int modelLine, int modelCol, IElementModelStructureHandler structureHandler)
Copyright © 2015 The THYMELEAF team. All rights reserved.