Interface TagLibrary
- All Known Implementing Classes:
AbstractHtmlLibrary
,AbstractTagLibrary
,ComponentTagDeclarationLibrary
,CompositeLibrary
,CompositeResourceLibrary
,CompositeTagLibrary
,CoreLibrary
,HtmlLibrary
,JsfLibrary
,JstlCoreLibrary
,JstlFnLibrary
,LegacyJstlCoreLibrary
,LegacyUILibrary
,PassThroughLibrary
,UILibrary
public interface TagLibrary
A library of Tags associated with one or more namespaces.
- Version:
- $Id$
- Author:
- Jacob Hookom
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsFunction
(String ns, String name) If this library contains the specified function nameboolean
If this library contains the passed namespaceboolean
containsTagHandler
(String ns, String localName) If this library contains a TagHandler for the namespace and local namecreateFunction
(String ns, String name) Return a Method instance for the passed namespace and namecreateTagHandler
(String ns, String localName, TagConfig tag) Create a new instance of a TagHandler, using the passed TagConfig
-
Method Details
-
containsNamespace
If this library contains the passed namespace- Parameters:
ns
- namespace- Returns:
- true if the namespace is used in this library
-
containsTagHandler
If this library contains a TagHandler for the namespace and local name- Parameters:
ns
- namespacelocalName
- local name- Returns:
- true if handled by this library
-
createTagHandler
Create a new instance of a TagHandler, using the passed TagConfig- Parameters:
ns
- namespacelocalName
- local nametag
- configuration information- Returns:
- a new TagHandler instance
- Throws:
FacesException
-
containsFunction
If this library contains the specified function name- Parameters:
ns
- namespacename
- function name- Returns:
- true if handled
-
createFunction
Return a Method instance for the passed namespace and name- Parameters:
ns
- namespacename
- function name- Returns:
-