X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fde%2Fjuplo%2Fthymeleaf%2FActiveAttributeProcessor.java;fp=src%2Fmain%2Fjava%2Fde%2Fjuplo%2Fthymeleaf%2FActiveAttributeProcessor.java;h=193a8e77e88eecbc850ae44215beadcc8a5442a7;hb=8ecd49f95b2af21c0a546007edc4e3d5346e7356;hp=0000000000000000000000000000000000000000;hpb=2ebd13014f98d349aa147185dac2dd860fccf225;p=juplo-dialect diff --git a/src/main/java/de/juplo/thymeleaf/ActiveAttributeProcessor.java b/src/main/java/de/juplo/thymeleaf/ActiveAttributeProcessor.java new file mode 100644 index 0000000..193a8e7 --- /dev/null +++ b/src/main/java/de/juplo/thymeleaf/ActiveAttributeProcessor.java @@ -0,0 +1,15 @@ +package de.juplo.thymeleaf; + + +/** + * Replaces the element by the tag <strong>, if it is + * marked as active. + * @author Kai Moritz + */ +public class ActiveAttributeProcessor extends AbstractSubstituteAttributeProcessor +{ + public ActiveAttributeProcessor(String prefix) + { + super(prefix, "active", "strong"); + } +}