Class ImageComponentTagHandler

java.lang.Object
com.day.cq.wcm.designimporter.parser.taghandlers.AbstractTagHandler
com.day.cq.wcm.designimporter.parser.taghandlers.ImageComponentTagHandler
All Implemented Interfaces:
HTMLContentProvider, PageComponentProvider, TagHandler

public class ImageComponentTagHandler extends AbstractTagHandler
The image component tag handler is used to translate the image component div(or an equivalent markup) into a CQ image component.

This tag handler is registered against the markup of type invalid input: '<' div|span|img data-cq-component="image" > (Read as a div, span, img tag with the attribute data-cq-component equal to "image"). That implies this tag handler will come into action whenever the design importer framework encounters an HTML tag matching the rule this handler is defined against.

See Also: