Package org.thymeleaf.standard.processor
Class AbstractStandardConditionalVisibilityTagProcessor
- Object
-
- org.thymeleaf.processor.AbstractProcessor
-
- org.thymeleaf.processor.element.AbstractElementTagProcessor
-
- org.thymeleaf.processor.element.AbstractAttributeTagProcessor
-
- org.thymeleaf.standard.processor.AbstractStandardConditionalVisibilityTagProcessor
-
- All Implemented Interfaces:
IElementProcessor
,IElementTagProcessor
,IProcessor
- Direct Known Subclasses:
StandardCaseTagProcessor
,StandardIfTagProcessor
,StandardUnlessTagProcessor
public abstract class AbstractStandardConditionalVisibilityTagProcessor extends AbstractAttributeTagProcessor
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractStandardConditionalVisibilityTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler)
protected abstract boolean
isVisible(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue)
-
Methods inherited from class org.thymeleaf.processor.element.AbstractAttributeTagProcessor
doProcess
-
Methods inherited from class org.thymeleaf.processor.element.AbstractElementTagProcessor
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 Detail
-
AbstractStandardConditionalVisibilityTagProcessor
protected AbstractStandardConditionalVisibilityTagProcessor(TemplateMode templateMode, String dialectPrefix, String attrName, int precedence)
-
-
Method Detail
-
doProcess
protected final void doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler)
- Specified by:
doProcess
in classAbstractAttributeTagProcessor
-
isVisible
protected abstract boolean isVisible(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue)
-
-