public final class TagMethodInvoker extends java.lang.Object
| Modifiers | Name | Description |
|---|---|---|
static java.util.Set<java.lang.String> |
FRAMEWORK_METHOD_NAMES |
Names that live on every tag library through the framework traits and are therefore never tags. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected java.util.Map<java.lang.String, java.lang.reflect.Field> |
computeValue(java.lang.Class<?> type) |
|
protected java.util.Map<java.lang.String, java.util.List<TagMethodBinding>> |
computeValue(java.lang.Class<?> type) |
|
public static java.lang.Object |
getClosureTagProperty(groovy.lang.GroovyObject tagLib, java.lang.String tagName) |
|
public static java.util.Collection<java.lang.String> |
getInvokableTagMethodNames(java.lang.Class<?> tagLibClass) |
|
public static boolean |
hasInvokableTagMethod(groovy.lang.GroovyObject tagLib, java.lang.String tagName) |
|
public static java.lang.Object |
invokeTagMethod(groovy.lang.GroovyObject tagLib, java.lang.String tagName, java.util.Map<?, ?> attrs, groovy.lang.Closure<?> body) |
|
public static boolean |
isTagMethodCandidate(java.lang.reflect.Method method) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Names that live on every tag library through the framework traits and are therefore never tags.
Exposed so that the compile-time tag library index derives the same tag names from the AST that this class derives by reflection at runtime. A name recorded in the index but rejected here would resolve when a GSP is compiled and then fail to dispatch when it renders.