@groovy.transform.Trait @groovy.transform.CompileStatic trait TagLibrary extends java.lang.Object implements ServletAttributes, TagLibraryInvoker, WebAttributes
A trait that makes a class into a GSP tag library
Type | Name and description |
---|---|
GrailsPrintWriter |
out |
Type Params | Return Type | Name and description |
---|---|---|
|
GrailsPrintWriter |
getOut() Obtains the currently output writer |
|
TemplateVariableBinding |
getPageScope() Obtains the page scope instance |
|
java.lang.String |
getTaglibNamespace() |
|
void |
initializeTagLibrary() |
|
java.lang.Object |
propertyMissing(java.lang.String name) Property missing implementation that looks up tag library namespaces or tags in the default namespace |
|
java.lang.Object |
raw(java.lang.Object value) |
|
void |
setOut(java.io.Writer newOut) Sets the current output writer |
|
void |
throwTagError(java.lang.String message) Throws a GrailsTagException |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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
Obtains the page scope instance
Property missing implementation that looks up tag library namespaces or tags in the default namespace
name
- The property nameSets the current output writer
newOut
- The new output writerThrows a GrailsTagException
message
- The error message