Class AbstractIwcmAttributeModelProcessor
java.lang.Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementModelProcessor
org.thymeleaf.processor.element.AbstractAttributeModelProcessor
sk.iway.iwcm.system.spring.webjet_component.dialect.AbstractIwcmAttributeModelProcessor
- All Implemented Interfaces:
org.thymeleaf.processor.element.IElementModelProcessor
,org.thymeleaf.processor.element.IElementProcessor
,org.thymeleaf.processor.IProcessor
- Direct Known Subclasses:
CombineAttributeModelProcessor
public abstract class AbstractIwcmAttributeModelProcessor
extends org.thymeleaf.processor.element.AbstractAttributeModelProcessor
Abstraktna trieda pre Thymeleaf MODELProcessor - spracovanie iwcm tagov
spracovava aj BODY elementu, nielen atributy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractIwcmAttributeModelProcessor
(String dialectPrefix, String attrName, int precedence) POZOR: tu nesmu byt ziadne private atributy, ktore su zavisle na requeste tato trieda vznikne len raz a je multithreadova, takze hodnoty by sa prepisovali preto je cela implementacia spravena cez staticke metody -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addCssTag
(org.thymeleaf.model.IModel model, org.thymeleaf.model.IModelFactory modelFactory, String href) protected static void
addScriptTag
(org.thymeleaf.model.IModel model, org.thymeleaf.model.IModelFactory modelFactory, String src) protected void
doProcess
(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IModel model, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.processor.element.IElementModelStructureHandler structureHandler) protected abstract void
processTag
(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IModel model, org.thymeleaf.model.IProcessableElementTag baseTag, javax.servlet.http.HttpServletRequest request) Methods inherited from class org.thymeleaf.processor.element.AbstractAttributeModelProcessor
doProcess
Methods inherited from class org.thymeleaf.processor.element.AbstractElementModelProcessor
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, process
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
getPrecedence, getTemplateMode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
Constructor Details
-
AbstractIwcmAttributeModelProcessor
protected AbstractIwcmAttributeModelProcessor(String dialectPrefix, String attrName, int precedence) POZOR: tu nesmu byt ziadne private atributy, ktore su zavisle na requeste tato trieda vznikne len raz a je multithreadova, takze hodnoty by sa prepisovali preto je cela implementacia spravena cez staticke metody
-
-
Method Details
-
processTag
protected abstract void processTag(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IModel model, org.thymeleaf.model.IProcessableElementTag baseTag, javax.servlet.http.HttpServletRequest request) -
doProcess
protected void doProcess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IModel model, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.processor.element.IElementModelStructureHandler structureHandler) - Specified by:
doProcess
in classorg.thymeleaf.processor.element.AbstractAttributeModelProcessor
-
addCssTag
protected static void addCssTag(org.thymeleaf.model.IModel model, org.thymeleaf.model.IModelFactory modelFactory, String href) -
addScriptTag
protected static void addScriptTag(org.thymeleaf.model.IModel model, org.thymeleaf.model.IModelFactory modelFactory, String src)
-