Package com.sun.faces.facelets.tag
Interface TagLibrary
-
- All Known Implementing Classes:
AbstractHtmlLibrary
,AbstractTagLibrary
,CompositeComponentTagLibrary
,CompositeLibrary
,CompositeTagLibrary
,CoreLibrary
,FacesComponentTagLibrary
,FunctionLibrary
,HtmlLibrary
,JstlCoreLibrary
,LazyTagLibrary
,PassThroughAttributeLibrary
,PassThroughElementLibrary
,TagLibraryImpl
,UILibrary
public interface TagLibrary
A library of Tags associated with one or more namespaces.- Version:
- $Id$
- Author:
- Jacob Hookom
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
containsFunction(String ns, String name)
If this library contains the specified function nameboolean
containsNamespace(String ns, Tag t)
true if the namespace is used in this libraryboolean
containsTagHandler(String ns, String localName)
If this library contains a TagHandler for the namespace and local name true if handled by this libraryMethod
createFunction(String ns, String name)
Return a Method instance for the passed namespace and nameTagHandler
createTagHandler(String ns, String localName, TagConfig tag)
Create a new instance of a TagHandler, using the passed TagConfig
-
-
-
Method Detail
-
containsNamespace
boolean containsNamespace(String ns, Tag t)
true if the namespace is used in this library- Parameters:
ns
- namespacet
- the tag instance currently active at the time this method is called. May be null- Returns:
- whether the namespace is used in this library
-
containsTagHandler
boolean containsTagHandler(String ns, String localName)
If this library contains a TagHandler for the namespace and local name true if handled by this library- Parameters:
ns
- namespacelocalName
- local name- Returns:
- whether handled by this library
-
createTagHandler
TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws FacesException
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
- when a Faces exception occurs
-
containsFunction
boolean containsFunction(String ns, String name)
If this library contains the specified function name- Parameters:
ns
- namespacename
- function name- Returns:
- true if handled
-
-