Class UrlRewriterTagAdapter

  • All Implemented Interfaces:
    TagVisitor

    public class UrlRewriterTagAdapter
    extends TagAdapter
    URL Rewriter.
    • Constructor Detail

      • UrlRewriterTagAdapter

        public UrlRewriterTagAdapter​(TagVisitor target,
                                     java.util.function.Function<java.lang.CharSequence,​java.lang.CharSequence> rewriter)
    • Method Detail

      • tag

        public void tag​(Tag tag)
        Description copied from interface: TagVisitor
        Invoked on tag (open, close or empty).

        Warning: the passed tag instance should not be kept beyond this method as the parser reuse it!

        Specified by:
        tag in interface TagVisitor
        Overrides:
        tag in class TagAdapter