Interface TagHandlerFactory

All Known Implementing Classes:
CanvasComponentTagHandlerFactory, DefaultComponentTagHandlerFactory, DefaultTagHandlerFactory, HeadTagHandlerFactory, IFrameTagHandlerFactory, ImageComponentTagHandlerFactory, ImgTagHandlerFactory, InlineScriptTagHandlerFactory, LinkTagHandlerFactory, MetaTagHandlerFactory, NonScriptTagHandlerFactory, ParsysComponentTagHandlerFactory, ScriptTagHandlerFactory, StyleTagHandlerFactory, TextComponentTagHandlerFactory, TitleComponentTagHandlerFactory, TitleTagHandlerFactory

public interface TagHandlerFactory
The factory that rolls out TagHandler instances
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name of the OSGi property that defines the tag pattern this factory would come into action for.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new TagHandler implementation instance.
  • Field Details

    • PN_TAGPATTERN

      static final String PN_TAGPATTERN
      The name of the OSGi property that defines the tag pattern this factory would come into action for. The value of this property is expected to be a regex which is matched against an HTML tag. The TagHandlerFactory that matches the HTML tag is chosen for creating a TagHandler instance. In case of conflicts, the TagHandlerFactory with a higher service ranking wins.
      See Also:
  • Method Details

    • create

      TagHandler create()
      Creates a new TagHandler implementation instance.
      Returns:
      A new TagHandler instance