public abstract class RequestContextTag extends java.lang.Object implements GrailsTag
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.web.context.WebApplicationContext |
applicationContext |
protected java.util.Map |
attributes |
protected org.springframework.beans.BeanWrapper |
bean |
protected java.lang.String |
contextPath |
protected org.codehaus.groovy.grails.commons.GrailsApplication |
grailsApplication |
protected java.io.Writer |
out |
protected GrailsTagRegistry |
registry |
protected javax.servlet.ServletRequest |
request |
protected javax.servlet.ServletResponse |
response |
protected javax.servlet.ServletContext |
servletContext |
protected org.springframework.web.util.UrlPathHelper |
urlPathHelper |
| Modifier | Constructor and Description |
|---|---|
protected |
RequestContextTag(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
doEndTag()
process the end tag
|
protected abstract void |
doEndTagInternal() |
void |
doStartTag()
Process the start tag
|
protected abstract void |
doStartTagInternal() |
java.lang.String |
getName() |
GrailsTagRegistry |
getRegistry() |
void |
init(java.util.Map context) |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets an attribute of the tag
|
void |
setAttributes(java.util.Map attributes)
Sets the attributes of the tag
|
void |
setWriter(java.io.Writer w)
Sets the writer that processes the tag
|
protected java.io.Writer out
protected java.util.Map attributes
protected javax.servlet.ServletRequest request
protected java.lang.String contextPath
protected org.springframework.web.util.UrlPathHelper urlPathHelper
protected GrailsTagRegistry registry
protected org.springframework.beans.BeanWrapper bean
protected javax.servlet.ServletContext servletContext
protected javax.servlet.ServletResponse response
protected org.springframework.web.context.WebApplicationContext applicationContext
protected org.codehaus.groovy.grails.commons.GrailsApplication grailsApplication
public java.lang.String getName()
public void setAttribute(java.lang.String name,
java.lang.Object value)
GrailsTagsetAttribute in interface GrailsTagpublic GrailsTagRegistry getRegistry()
public void setWriter(java.io.Writer w)
GrailsTagpublic void setAttributes(java.util.Map attributes)
GrailsTagsetAttributes in interface GrailsTagpublic final void doStartTag()
GrailsTagdoStartTag in interface GrailsTagprotected abstract void doStartTagInternal()
protected abstract void doEndTagInternal()