Class DefaultComponentTagHandler

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

public class DefaultComponentTagHandler extends AbstractTagHandler
The default component tag handler is used to translate a non-registered component div into a CQ component. It generates a CQ component with resourceType as the value of the attribute data-cq-component.

This tag handler is registered against the markup of type invalid input: '<' div data-cq-component="geometrixx/components/mycustomtextcomponent" >. 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: