API for Tag libraries in a Grails application.
Fields inherited from class | Fields |
---|---|
class CommonWebApi |
RAW_CODEC_NAME |
Constructor and description |
---|
TagLibraryApi
() |
TagLibraryApi
(GrailsPluginManager pluginManager) |
Type | Name and description |
---|---|
GrailsPrintWriter |
getOut(java.lang.Object instance) Obtains the currently output writer |
GroovyPageBinding |
getPageScope(java.lang.Object instance) Obtains the page scope instance |
TagLibraryLookup |
getTagLibraryLookup() |
java.lang.Object |
methodMissing(java.lang.Object instance, java.lang.String methodName, java.lang.Object argsObject) Method missing implementation that handles tag invocation by method name |
java.lang.Object |
propertyMissing(java.lang.Object instance, java.lang.String name) Prpoerty missing implementation that looks up tag library namespaces or tags in the default namespace |
void |
setGspTagLibraryLookup(TagLibraryLookup lookup) |
void |
setOut(java.lang.Object instance, java.io.Writer newOut) Sets the current output writer |
void |
setTagLibraryLookup(TagLibraryLookup lookup) |
void |
throwTagError(java.lang.Object instance, java.lang.String message) Throws a GrailsTagException |
java.lang.Object |
withCodec(java.lang.Object instance, java.lang.Object codecInfo, groovy.lang.Closure<?> body) |
Methods inherited from class | Name |
---|---|
class CommonWebApi |
currentRequestAttributes, getActionName, getApplicationContext, getControllerClass, getControllerName, getControllerNamespace, getFlash, getGrailsApplication, getGrailsAttributes, getParams, getPluginContextPath, getRequest, getResponse, getServletContext, getSession, getWebRequest, raw, setApplicationContext, setGrailsApplication, setServletContext |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Obtains the currently output writer
instance
- The tag library instanceObtains the page scope instance
instance
- The tag libraryMethod missing implementation that handles tag invocation by method name
instance
- The instancemethodName
- The method nameargsObject
- The argumentsPrpoerty missing implementation that looks up tag library namespaces or tags in the default namespace
instance
- The tag library instancename
- The property nameSets the current output writer
instance
- The tag library instancenewOut
- The new output writerThrows a GrailsTagException
instance
- The tag library instancemessage
- The error message