Package io.vertigo.ui.impl.thymeleaf
Class VUiStandardDialect
java.lang.Object
org.thymeleaf.dialect.AbstractDialect
org.thymeleaf.dialect.AbstractProcessorDialect
io.vertigo.ui.impl.thymeleaf.VUiStandardDialect
- All Implemented Interfaces:
org.thymeleaf.dialect.IDialect,org.thymeleaf.dialect.IExecutionAttributeDialect,org.thymeleaf.dialect.IPostProcessorDialect,org.thymeleaf.dialect.IProcessorDialect
public final class VUiStandardDialect
extends org.thymeleaf.dialect.AbstractProcessorDialect
implements org.thymeleaf.dialect.IPostProcessorDialect, org.thymeleaf.dialect.IExecutionAttributeDialect
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVUiStandardDialect(String prefix, Set<NamedComponentDefinition> components) VUiStandardDialect(String prefix, Set<NamedComponentDefinition> components, Set<String> autoCloseTagsPrefixes) VUiStandardDialect(String prefix, Set<NamedComponentDefinition> components, Set<String> autoCloseTagsPrefixes, boolean devMode) VUiStandardDialect(Set<NamedComponentDefinition> components) -
Method Summary
Modifier and TypeMethodDescriptionintSet<org.thymeleaf.postprocessor.IPostProcessor> Set<org.thymeleaf.processor.IProcessor> getProcessors(String dialectPrefix) Methods inherited from class org.thymeleaf.dialect.AbstractProcessorDialect
getDialectProcessorPrecedence, getPrefixMethods inherited from class org.thymeleaf.dialect.AbstractDialect
getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.thymeleaf.dialect.IDialect
getName
-
Field Details
-
NAME
- See Also:
-
PREFIX
- See Also:
-
PROCESSOR_PRECEDENCE
public static final int PROCESSOR_PRECEDENCE- See Also:
-
DEFAULT_AUTO_CLOSE_TAGS_PREFIXES
Elements closed by the AutoCloseTagsPostProcessor when self-closed : quasar, vertigo-ui, vui and vue-dsfr components.
-
-
Constructor Details
-
VUiStandardDialect
-
VUiStandardDialect
-
VUiStandardDialect
public VUiStandardDialect(String prefix, Set<NamedComponentDefinition> components, Set<String> autoCloseTagsPrefixes) - Parameters:
prefix- Dialect prefixcomponents- Named componentsautoCloseTagsPrefixes- Prefixes of the elements closed when self-closed (q-btn ... / becomes an open/close pair)
-
VUiStandardDialect
public VUiStandardDialect(String prefix, Set<NamedComponentDefinition> components, Set<String> autoCloseTagsPrefixes, boolean devMode) - Parameters:
prefix- Dialect prefixcomponents- Named componentsautoCloseTagsPrefixes- Prefixes of the elements closed when self-closed (q-btn ... / becomes an open/close pair)devMode- Dev mode : logs the vu: elements without component, checks the way the component attributes are written (at each rendering)
-
-
Method Details
-
getExecutionAttributes
- Specified by:
getExecutionAttributesin interfaceorg.thymeleaf.dialect.IExecutionAttributeDialect
-
getProcessors
- Specified by:
getProcessorsin interfaceorg.thymeleaf.dialect.IProcessorDialect
-
getDialectPostProcessorPrecedence
public int getDialectPostProcessorPrecedence()- Specified by:
getDialectPostProcessorPrecedencein interfaceorg.thymeleaf.dialect.IPostProcessorDialect
-
getPostProcessors
- Specified by:
getPostProcessorsin interfaceorg.thymeleaf.dialect.IPostProcessorDialect
-