public class SimpleMapper extends TaglibMapper
_clses, _mtds| Constructor and Description |
|---|
SimpleMapper() |
SimpleMapper(FunctionMapper parent) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getClassNames()
Returns a readonly collection of the logic names of the class
(never null).
|
FunctionMapper |
getParent()
Returns the parent mapper, or null if no parent.
|
Class |
resolveClass(String name)
Resolves a class with the specified logic name,
or null if not found.
|
Function |
resolveFunction(String prefix,
String name)
Resolves a function
Function with the specified name and
prefix. |
void |
setParent(FunctionMapper parent)
Sets the parent mapper.
|
addClass, addFunction, clone, equals, hashCode, load, load, load, loadpublic SimpleMapper()
public SimpleMapper(FunctionMapper parent)
public FunctionMapper getParent()
public void setParent(FunctionMapper parent)
parent - the parent mapper, or null if no parent.public Function resolveFunction(String prefix, String name)
FunctionMapperFunction with the specified name and
prefix.
Note: not all EL evaluator support FunctionMapper.resolveFunction(java.lang.String, java.lang.String).
Currently only JSP 2.0/2.1 EL-based expression factories
support this method.
You can check ExpressionFactory.isSupported(int) for this
support.
resolveFunction in interface FunctionMapperresolveFunction in class TaglibMapperprefix - the prefix of the function, or "" if no prefixname - the name of the function to resolvepublic Collection<String> getClassNames()
FunctionMapperExtgetClassNames in interface FunctionMapperExtgetClassNames in class TaglibMapperpublic Class resolveClass(String name)
FunctionMapperExtNote: not all EL evaluator support FunctionMapperExt.resolveClass(java.lang.String).
JSP 2.0/2.1 EL-based expression factories don't support
this method.
You can check ExpressionFactory.isSupported(int) for this
support.
resolveClass in interface FunctionMapperExtresolveClass in class TaglibMapperCopyright © 2018. All rights reserved.