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 | |
| public static final String | |
| private Map | |
| private static final String | |
| private static final String | |
| public static final Set | |
| private 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. If this library contains the specified function name |
| 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. true if the namespace is used in this library |
| public boolean | containsTagHandler(String
namespace ns, String local name localName)Implements com. If this library contains a TagHandler for the namespace and local name true if handled by this library |
| public Method | createFunction(String
namespace ns, String function name name)Implements com. Return a Method instance for the passed namespace and name |
| public TagHandler | createTagHandler(String
namespace ns, String local name localName, TagConfig configuration information tag)Implements com. Create a new instance of a TagHandler, using the passed TagConfig |
| _namespace | back to summary |
|---|---|
| private String _namespace | |
| DEFAULT_NAMESPACE | back to summary |
|---|---|
| public static final String DEFAULT_NAMESPACE | |
| functions | back to summary |
|---|---|
| private Map<String, Method> functions | |
| JakartaNamespace | back to summary |
|---|---|
| private static final String JakartaNamespace | |
| JcpNamespace | back to summary |
|---|---|
| private static final String JcpNamespace | |
| NAMESPACES | back to summary |
|---|---|
| public static final Set<String> NAMESPACES | |
| SunNamespace | back to summary |
|---|---|
| private static final String SunNamespace | |
| 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
| |