@groovy.transform.CompileStatic class NamespacedTagDispatcher extends groovy.lang.GroovyObjectSupport
Allows dispatching to namespaced tag libraries and is used within controllers and tag libraries to allow namespaced tags to be invoked as methods (eg. g.link(action:'foo')).
Modifiers | Name | Description |
---|---|---|
protected GrailsApplication |
application |
|
protected boolean |
developmentMode |
|
protected TagLibraryLookup |
lookup |
|
protected java.lang.String |
namespace |
|
protected java.lang.Class |
type |
Constructor and description |
---|
NamespacedTagDispatcher
(java.lang.String ns, java.lang.Class callingType, GrailsApplication application, TagLibraryLookup lookup) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
initializeMetaClass() |
|
java.lang.Object |
methodMissing(java.lang.String name, java.lang.Object args) |
|
protected void |
registerTagMetaMethods(groovy.lang.ExpandoMetaClass emc) |
Methods inherited from class | Name |
---|---|
class groovy.lang.GroovyObjectSupport |
groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll(), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object) |