|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.view.facelets.tag.CompositeTagLibrary
public final class CompositeTagLibrary
A TagLibrary that is composed of 1 or more TagLibrary children. Uses the chain of responsibility pattern to stop searching as soon as one of the children handles the requested method.
| Constructor Summary | |
|---|---|
CompositeTagLibrary(TagLibrary[] libraries)
|
|
| Method Summary | |
|---|---|
boolean |
containsFunction(String ns,
String name)
If this library contains the specified function name |
boolean |
containsNamespace(String ns)
If this library contains the passed namespace |
boolean |
containsTagHandler(String ns,
String localName)
If this library contains a TagHandler for the namespace and local name |
Method |
createFunction(String ns,
String name)
Return a Method instance for the passed namespace and name |
TagHandler |
createTagHandler(String ns,
String localName,
TagConfig tag)
Create a new instance of a TagHandler, using the passed TagConfig |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeTagLibrary(TagLibrary[] libraries)
| Method Detail |
|---|
public boolean containsNamespace(String ns)
TagLibrary
containsNamespace in interface TagLibraryns - namespace
public boolean containsTagHandler(String ns,
String localName)
TagLibrary
containsTagHandler in interface TagLibraryns - namespacelocalName - local name
public TagHandler createTagHandler(String ns,
String localName,
TagConfig tag)
throws FacesException
TagLibrary
createTagHandler in interface TagLibraryns - namespacelocalName - local nametag - configuration information
FacesException
public boolean containsFunction(String ns,
String name)
TagLibrary
containsFunction in interface TagLibraryns - namespacename - function name
public Method createFunction(String ns,
String name)
TagLibrary
createFunction in interface TagLibraryns - namespacename - function name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||