Class UnknownComponentWarnProcessor
java.lang.Object
org.thymeleaf.processor.AbstractProcessor
io.vertigo.ui.impl.thymeleaf.components.UnknownComponentWarnProcessor
- All Implemented Interfaces:
org.thymeleaf.processor.element.IElementProcessor,org.thymeleaf.processor.element.IElementTagProcessor,org.thymeleaf.processor.IProcessor
public final class UnknownComponentWarnProcessor
extends org.thymeleaf.processor.AbstractProcessor
implements org.thymeleaf.processor.element.IElementTagProcessor
Dev mode only : logs a vu: element without component, written as is and ignored by the browser (a component removed or
renamed, a typo). Once by template and element : the processors run at each rendering.
- Author:
- npiedeloup
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownComponentWarnProcessor(String dialectPrefix, Set<String> componentNames) -
Method Summary
Modifier and TypeMethodDescriptionorg.thymeleaf.processor.element.MatchingAttributeNameorg.thymeleaf.processor.element.MatchingElementNamevoidprocess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) Methods inherited from class org.thymeleaf.processor.AbstractProcessor
getPrecedence, getTemplateModeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
Constructor Details
-
UnknownComponentWarnProcessor
- Parameters:
dialectPrefix- Dialect prefix (vu)componentNames- Names of the elements of the dialect (components, content, slot...)
-
-
Method Details
-
getMatchingElementName
public org.thymeleaf.processor.element.MatchingElementName getMatchingElementName()- Specified by:
getMatchingElementNamein interfaceorg.thymeleaf.processor.element.IElementProcessor
-
getMatchingAttributeName
public org.thymeleaf.processor.element.MatchingAttributeName getMatchingAttributeName()- Specified by:
getMatchingAttributeNamein interfaceorg.thymeleaf.processor.element.IElementProcessor
-
process
public void process(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) - Specified by:
processin interfaceorg.thymeleaf.processor.element.IElementTagProcessor
-