This TagLibrary exposes the public static
methods defined on the functionsClass provided to the constructor
as EL functions.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private Map | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | containsFunction(String
namespace ns, String function name name)Implements com. |
| public boolean | containsNamespace(String
namespace ns, Tag the tag instance currently active at the time
this method is called. May be null t)Implements com. |
| public boolean | containsTagHandler(String
namespace ns, String local name localName)Implements com. |
| public Method | createFunction(String
namespace ns, String function name name)Implements com. |
| public TagHandler | createTagHandler(String
namespace ns, String local name localName, TagConfig configuration information tag)Implements com. |
| _namespace | back to summary |
|---|---|
| private String _namespace | |
| functions | back to summary |
|---|---|
| private Map<String, Method> functions | |
| Namespace | back to summary |
|---|---|
| public static final String Namespace | |
| XMLNSNamespace | back to summary |
|---|---|
| public static final String XMLNSNamespace | |
| FunctionLibrary | back to summary |
|---|---|
| public FunctionLibrary(Class<?> functionsClass, String namespace) | |
| containsFunction | back to summary |
|---|---|
| public boolean containsFunction(String ns, String name) Implements com. Doc from com. If this library contains the specified function name | |
| containsNamespace | back to summary |
|---|---|
| public boolean containsNamespace(String ns, Tag t) Implements com. Doc from com. true if the namespace is used in this library | |
| containsTagHandler | back to summary |
|---|---|
| public boolean containsTagHandler(String ns, String localName) Implements com. Doc from com. If this library contains a TagHandler for the namespace and local name true if handled by this library | |
| createFunction | back to summary |
|---|---|
| public Method createFunction(String ns, String name) Implements com. Doc from com. Return a Method instance for the passed namespace and name | |
| createTagHandler | back to summary |
|---|---|
| public TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws FacesException Implements com. Doc from com. Create a new instance of a TagHandler, using the passed TagConfig
| |