public final class CompositeTagLibrary extends Object implements TagLibrary
Constructor and Description |
---|
CompositeTagLibrary(TagLibrary[] libraries) |
CompositeTagLibrary(TagLibrary[] libraries,
CompilationMessageHolder unit) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsFunction(String ns,
String name)
If this library contains the specified function name
|
boolean |
containsNamespace(String ns,
Tag t)
true if the namespace is used in this library
|
boolean |
containsTagHandler(String ns,
String localName)
If this library contains a TagHandler for the namespace and local name true if handled by this library
|
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
|
public CompositeTagLibrary(TagLibrary[] libraries, CompilationMessageHolder unit)
public CompositeTagLibrary(TagLibrary[] libraries)
public boolean containsNamespace(String ns, Tag t)
TagLibrary
containsNamespace
in interface TagLibrary
ns
- namespacet
- the tag instance currently active at the time
this method is called. May be nullpublic boolean containsTagHandler(String ns, String localName)
TagLibrary
containsTagHandler
in interface TagLibrary
ns
- namespacelocalName
- local namepublic TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws FacesException
TagLibrary
createTagHandler
in interface TagLibrary
ns
- namespacelocalName
- local nametag
- configuration informationFacesException
public boolean containsFunction(String ns, String name)
TagLibrary
containsFunction
in interface TagLibrary
ns
- namespacename
- function namepublic Method createFunction(String ns, String name)
TagLibrary
createFunction
in interface TagLibrary
ns
- namespacename
- function nameComments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.