org.codehaus.groovy.grails.web.taglib
Class GroovyPageTagBody
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Closure
org.codehaus.groovy.grails.web.taglib.GroovyPageTagBody
- All Implemented Interfaces:
- groovy.lang.GroovyObject, Serializable, Cloneable, Runnable
public class GroovyPageTagBody
- extends groovy.lang.Closure
A closure that represents the body of a tag and captures its output returning the result when invoked
- Since:
- 0.5
Created: Apr 19, 2007
Time: 2:21:38 PM
- Author:
- Graeme Rocher
- See Also:
- Serialized Form
Fields inherited from class groovy.lang.Closure |
DELEGATE_FIRST, DELEGATE_ONLY, DONE, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF |
Methods inherited from class groovy.lang.Closure |
asWritable, clone, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException |
Methods inherited from class groovy.lang.GroovyObjectSupport |
getMetaClass, invokeMethod, setMetaClass |
GroovyPageTagBody
public GroovyPageTagBody(Object owner,
GrailsWebRequest webRequest,
groovy.lang.Closure bodyClosure)
GroovyPageTagBody
public GroovyPageTagBody(Object owner,
GrailsWebRequest webRequest,
groovy.lang.Closure bodyClosure,
boolean preferSubChunkWhenWritingToOtherBuffer)
isPreferSubChunkWhenWritingToOtherBuffer
public boolean isPreferSubChunkWhenWritingToOtherBuffer()
setPreferSubChunkWhenWritingToOtherBuffer
public void setPreferSubChunkWhenWritingToOtherBuffer(boolean preferSubChunkWhenWritingToOtherBuffer)
doCall
public Object doCall()
doCall
public Object doCall(Object arguments)
call
public Object call()
- Overrides:
call
in class groovy.lang.Closure
call
public Object call(Object[] args)
- Overrides:
call
in class groovy.lang.Closure
call
public Object call(Object arguments)
- Overrides:
call
in class groovy.lang.Closure
Copyright (c) 2005-2009 The Grails project