Class ImgAttributesRule

  • All Implemented Interfaces:
    com.opensymphony.module.sitemesh.html.TagRule

    public class ImgAttributesRule
    extends com.opensymphony.module.sitemesh.html.BasicRule
    Convert attributes appended to the image src into real attributes. The additional attributes are separated with a '#' character, the attribute name is separated by '=' or '+=' from its value. The former will replace an existing attribute, the latter will add the value.
    Author:
    Jörg Schaible
    • Constructor Detail

      • ImgAttributesRule

        public ImgAttributesRule()
    • Method Detail

      • process

        public void process​(com.opensymphony.module.sitemesh.html.Tag tag)
        Specified by:
        process in interface com.opensymphony.module.sitemesh.html.TagRule
        Specified by:
        process in class com.opensymphony.module.sitemesh.html.BasicRule