org.thymeleaf.standard.processor.StandardXmlNsTagProcessor Java Examples
The following examples show how to use
org.thymeleaf.standard.processor.StandardXmlNsTagProcessor.
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: SpringDataDialect.java From thymeleaf-spring-data-dialect with Apache License 2.0 | 6 votes |
public Set<IProcessor> getProcessors(final String dialectPrefix) { final Set<IProcessor> processors = new HashSet<IProcessor>(); processors.add(new StandardXmlNsTagProcessor(TemplateMode.HTML, PREFIX)); processors.add(new PaginationAttrProcessor(PREFIX)); processors.add(new PaginationSortAttrProcessor(PREFIX)); processors.add(new PaginationSortAscAttrProcessor(PREFIX)); processors.add(new PaginationSortDescAttrProcessor(PREFIX)); processors.add(new PaginationSummaryAttrProcessor(PREFIX)); processors.add(new PageObjectAttrProcessor(PREFIX)); processors.add(new PaginationUrlAttrProcessor(PREFIX)); processors.add(new PaginationQualifierAttrProcessor(PREFIX)); processors.add(new PaginationSplitAttrProcessor(PREFIX)); processors.add(new PageSizeSelectorAttrProcessor(PREFIX)); return processors; }
Example #2
Source File: ThSysDialect.java From mayday with GNU General Public License v3.0 | 5 votes |
@Override public Set<IProcessor> getProcessors(String dialectPrefix) { Set<IProcessor> processors = new HashSet<IProcessor>(); processors.add(new ThSysTagProcessor(dialectPrefix)); processors.add(new StandardXmlNsTagProcessor(TemplateMode.HTML, dialectPrefix)); return processors; }
Example #3
Source File: DataAttributeDialect.java From thymeleaf-extras-data-attribute with Apache License 2.0 | 5 votes |
@Override public Set<IProcessor> getProcessors(String dialectPrefix) { HashSet<IProcessor> processors = new HashSet<IProcessor>(); processors.add(new StandardXmlNsTagProcessor(TemplateMode.HTML, dialectPrefix)); processors.add(new DataProcessor(TemplateMode.HTML, dialectPrefix)); return processors; }
Example #4
Source File: ShiroDialect.java From thymeleaf-extras-shiro with Apache License 2.0 | 4 votes |
private static Set<IProcessor> createStandardProcessorsSet(String dialectPrefix) { LinkedHashSet<IProcessor> processors = new LinkedHashSet<IProcessor>(); processors.add(new PrincipalAttrProcessor(dialectPrefix)); processors.add(new PrincipalElementProcessor(dialectPrefix)); processors.add(new HasAllRolesAttrProcessor(dialectPrefix)); processors.add(new HasAllRolesElementProcessor(dialectPrefix)); processors.add(new HasAnyRolesAttrProcessor(dialectPrefix)); processors.add(new HasAnyRolesElementProcessor(dialectPrefix)); processors.add(new HasRoleAttrProcessor(dialectPrefix)); processors.add(new HasRoleElementProcessor(dialectPrefix)); processors.add(new LacksRoleAttrProcessor(dialectPrefix)); processors.add(new LacksRoleElementProcessor(dialectPrefix)); processors.add(new HasAllPermissionsAttrProcessor(dialectPrefix)); processors.add(new HasAllPermissionsElementProcessor(dialectPrefix)); processors.add(new HasAnyPermissionsAttrProcessor(dialectPrefix)); processors.add(new HasAnyPermissionsElementProcessor(dialectPrefix)); processors.add(new HasPermissionAttrProcessor(dialectPrefix)); processors.add(new HasPermissionElementProcessor(dialectPrefix)); processors.add(new LacksPermissionAttrProcessor(dialectPrefix)); processors.add(new LacksPermissionElementProcessor(dialectPrefix)); processors.add(new AuthenticatedAttrProcessor(dialectPrefix)); processors.add(new AuthenticatedElementProcessor(dialectPrefix)); processors.add(new NotAuthenticatedAttrProcessor(dialectPrefix)); processors.add(new NotAuthenticatedElementProcessor(dialectPrefix)); processors.add(new GuestAttrProcessor(dialectPrefix)); processors.add(new GuestElementProcessor(dialectPrefix)); processors.add(new UserAttrProcessor(dialectPrefix)); processors.add(new UserElementProcessor(dialectPrefix)); // Remove the xmlns:prefix attributes we might add for IDE validation but should not be exposed in the web browsers. processors.add(new StandardXmlNsTagProcessor(TemplateMode.HTML, dialectPrefix)); return processors; }