Java Code Examples for org.thymeleaf.templatemode.TemplateMode#HTML
The following examples show how to use
org.thymeleaf.templatemode.TemplateMode#HTML .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: UserElementProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public UserElementProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching ELEMENT_NAME, // Tag name: match specifically this tag true, // Apply dialect prefix to tag name null, // No attribute name: will match by tag name false, // No prefix to be applied to attribute name PRECEDENCE); // Precedence (inside dialect's own precedence) }
Example 2
Source File: LacksRoleAttrProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public LacksRoleAttrProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching null, // No tag name: match any tag name false, // No prefix to be applied to tag name ATTRIBUTE_NAME, // Name of the attribute that will be matched true, // Apply dialect prefix to attribute name PRECEDENCE, // Precedence (inside dialect's precedence) true); // Remove the matched attribute afterwards }
Example 3
Source File: PrincipalElementProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public PrincipalElementProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching ELEMENT_NAME, // Tag name: match specifically this tag true, // Apply dialect prefix to tag name null, // No attribute name: will match by tag name false, // No prefix to be applied to attribute name PRECEDENCE); // Precedence (inside dialect's own precedence) }
Example 4
Source File: HasRoleAttrProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public HasRoleAttrProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching null, // No tag name: match any tag name false, // No prefix to be applied to tag name ATTRIBUTE_NAME, // Name of the attribute that will be matched true, // Apply dialect prefix to attribute name PRECEDENCE, // Precedence (inside dialect's precedence) true); // Remove the matched attribute afterwards }
Example 5
Source File: HasAllPermissionsAttrProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public HasAllPermissionsAttrProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching null, // No tag name: match any tag name false, // No prefix to be applied to tag name ATTRIBUTE_NAME, // Name of the attribute that will be matched true, // Apply dialect prefix to attribute name PRECEDENCE, // Precedence (inside dialect's precedence) true); // Remove the matched attribute afterwards }
Example 6
Source File: HasAllRolesElementProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public HasAllRolesElementProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching ELEMENT_NAME, // Tag name: match specifically this tag true, // Apply dialect prefix to tag name null, // No attribute name: will match by tag name false, // No prefix to be applied to attribute name PRECEDENCE); // Precedence (inside dialect's own precedence) }
Example 7
Source File: AuthenticatedElementProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public AuthenticatedElementProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching ELEMENT_NAME, // Tag name: match specifically this tag true, // Apply dialect prefix to tag name null, // No attribute name: will match by tag name false, // No prefix to be applied to attribute name PRECEDENCE); // Precedence (inside dialect's own precedence) }
Example 8
Source File: HasPermissionElementProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public HasPermissionElementProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching ELEMENT_NAME, // Tag name: match specifically this tag true, // Apply dialect prefix to tag name null, // No attribute name: will match by tag name false, // No prefix to be applied to attribute name PRECEDENCE); // Precedence (inside dialect's own precedence) }
Example 9
Source File: LacksPermissionElementProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public LacksPermissionElementProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching ELEMENT_NAME, // Tag name: match specifically this tag true, // Apply dialect prefix to tag name null, // No attribute name: will match by tag name false, // No prefix to be applied to attribute name PRECEDENCE); // Precedence (inside dialect's own precedence) }
Example 10
Source File: HasAllPermissionsElementProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public HasAllPermissionsElementProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching ELEMENT_NAME, // Tag name: match specifically this tag true, // Apply dialect prefix to tag name null, // No attribute name: will match by tag name false, // No prefix to be applied to attribute name PRECEDENCE); // Precedence (inside dialect's own precedence) }
Example 11
Source File: UserAttrProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public UserAttrProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching null, // No tag name: match any tag name false, // No prefix to be applied to tag name ATTRIBUTE_NAME, // Name of the attribute that will be matched true, // Apply dialect prefix to attribute name PRECEDENCE, // Precedence (inside dialect's precedence) true); // Remove the matched attribute afterwards }
Example 12
Source File: EnabledImageTagProcessor.java From konker-platform with Apache License 2.0 | 5 votes |
public EnabledImageTagProcessor(final String dialectPrefix) { super(TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching null, // No tag name: match any tag name false, // No prefix to be applied to tag name ATTR_NAME, // Name of the attribute that will be matched true, // Apply dialect prefix to attribute name PRECEDENCE, // Precedence (inside dialect's precedence) true); // Remove the matched attribute afterwards }
Example 13
Source File: HasAnyRolesAttrProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public HasAnyRolesAttrProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching null, // No tag name: match any tag name false, // No prefix to be applied to tag name ATTRIBUTE_NAME, // Name of the attribute that will be matched true, // Apply dialect prefix to attribute name PRECEDENCE, // Precedence (inside dialect's precedence) true); // Remove the matched attribute afterwards }
Example 14
Source File: HasPermissionAttrProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public HasPermissionAttrProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching null, // No tag name: match any tag name false, // No prefix to be applied to tag name ATTRIBUTE_NAME, // Name of the attribute that will be matched true, // Apply dialect prefix to attribute name PRECEDENCE, // Precedence (inside dialect's precedence) true); // Remove the matched attribute afterwards }
Example 15
Source File: AuthenticatedAttrProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public AuthenticatedAttrProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching null, // No tag name: match any tag name false, // No prefix to be applied to tag name ATTRIBUTE_NAME, // Name of the attribute that will be matched true, // Apply dialect prefix to attribute name PRECEDENCE, // Precedence (inside dialect's precedence) true); // Remove the matched attribute afterwards }
Example 16
Source File: NotAuthenticatedElementProcessor.java From thymeleaf-extras-shiro with Apache License 2.0 | 5 votes |
public NotAuthenticatedElementProcessor(String dialectPrefix) { super( TemplateMode.HTML, // This processor will apply only to HTML mode dialectPrefix, // Prefix to be applied to name for matching ELEMENT_NAME, // Tag name: match specifically this tag true, // Apply dialect prefix to tag name null, // No attribute name: will match by tag name false, // No prefix to be applied to attribute name PRECEDENCE); // Precedence (inside dialect's own precedence) }
Example 17
Source File: PaginationQualifierAttrProcessor.java From thymeleaf-spring-data-dialect with Apache License 2.0 | 4 votes |
protected PaginationQualifierAttrProcessor(final String dialectPrefix) { super(TemplateMode.HTML, dialectPrefix, null, false, ATTR_NAME, true, PRECEDENCE, true); }
Example 18
Source File: PageSizeSelectorAttrProcessor.java From thymeleaf-spring-data-dialect with Apache License 2.0 | 4 votes |
PageSizeSelectorAttrProcessor(final String dialectPrefix) { super(TemplateMode.HTML, dialectPrefix, null, false, ATTR_NAME, true, PRECEDENCE, true); }
Example 19
Source File: PaginationUrlAttrProcessor.java From thymeleaf-spring-data-dialect with Apache License 2.0 | 4 votes |
protected PaginationUrlAttrProcessor(final String dialectPrefix) { super(TemplateMode.HTML, dialectPrefix, null, false, ATTR_NAME, true, PRECEDENCE, true); }
Example 20
Source File: PrettytimeProcessor.java From wenku with MIT License | 2 votes |
/** * * 创建一个新的实例 PrettytimeProcessor. */ public PrettytimeProcessor() { super(TemplateMode.HTML, DEFAULT_DIALECT_PREFIX, ATTR_NAME, PRECEDENCE, true); }