Package com.sun.faces.facelets.tag.faces
Class CompositeComponentTagLibrary
- java.lang.Object
-
- com.sun.faces.facelets.tag.AbstractTagLibrary
-
- com.sun.faces.facelets.tag.TagLibraryImpl
-
- com.sun.faces.facelets.tag.faces.LazyTagLibrary
-
- com.sun.faces.facelets.tag.faces.CompositeComponentTagLibrary
-
- All Implemented Interfaces:
TagLibrary
public class CompositeComponentTagLibrary extends LazyTagLibrary
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.faces.facelets.tag.AbstractTagLibrary
AbstractTagLibrary.ComponentConfigWrapper
-
-
Constructor Summary
Constructors Constructor Description CompositeComponentTagLibrary(String ns)
CompositeComponentTagLibrary(String ns, String compositeLibraryName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsTagHandler(String ns, String localName)
If this library contains a TagHandler for the namespace and local name true if handled by this libraryTagHandler
createTagHandler(String ns, String localName, TagConfig tag)
Create a new instance of a TagHandler, using the passed TagConfigstatic boolean
scriptComponentForResourceExists(FacesContext context, Resource componentResource)
boolean
tagLibraryForNSExists(String toTest)
-
Methods inherited from class com.sun.faces.facelets.tag.TagLibraryImpl
putBehavior, putBehavior, putComponent, putComponent, putCompositeComponentTag, putConverter, putConverter, putFunction, putTagHandler, putUserTag, putValidator, putValidator
-
Methods inherited from class com.sun.faces.facelets.tag.AbstractTagLibrary
addBehavior, addBehavior, addComponent, addComponent, addCompositeComponentTag, addConverter, addConverter, addFunction, addTagHandler, addUserTag, addValidator, addValidator, containsFunction, containsNamespace, createFunction, equals, getNamespace, hashCode
-
-
-
-
Method Detail
-
containsTagHandler
public boolean containsTagHandler(String ns, String localName)
Description copied from interface:TagLibrary
If this library contains a TagHandler for the namespace and local name true if handled by this library- Specified by:
containsTagHandler
in interfaceTagLibrary
- Overrides:
containsTagHandler
in classAbstractTagLibrary
- Parameters:
ns
- namespacelocalName
- local name- Returns:
- whether handled by this library
-
createTagHandler
public TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws FacesException
Description copied from interface:TagLibrary
Create a new instance of a TagHandler, using the passed TagConfig- Specified by:
createTagHandler
in interfaceTagLibrary
- Overrides:
createTagHandler
in classAbstractTagLibrary
- Parameters:
ns
- namespacelocalName
- local nametag
- configuration information- Returns:
- a new TagHandler instance
- Throws:
FacesException
- when a Faces exception occurs
-
tagLibraryForNSExists
public boolean tagLibraryForNSExists(String toTest)
- Specified by:
tagLibraryForNSExists
in classLazyTagLibrary
-
scriptComponentForResourceExists
public static boolean scriptComponentForResourceExists(FacesContext context, Resource componentResource)
-
-