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 java.lang.String
PN_TAGPATTERN
The name of the OSGi property that defines the tag pattern this factory would come into action for.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TagHandler
create()
Creates a new TagHandler implementation instance.
-
-
-
Field Detail
-
PN_TAGPATTERN
static final java.lang.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:
- Constant Field Values
-
-
Method Detail
-
create
TagHandler create()
Creates a new TagHandler implementation instance.- Returns:
- A new TagHandler instance
-
-