org.codehaus.groovy.grails.web.taglib
Class RequestContextTag

java.lang.Object
  extended by org.codehaus.groovy.grails.web.taglib.RequestContextTag
All Implemented Interfaces:
GrailsTag
Direct Known Subclasses:
RenderInputTag

public abstract class RequestContextTag
extends java.lang.Object
implements GrailsTag

Since:
11-Jan-2006
Author:
Graeme Rocher

Field Summary
protected  org.springframework.web.context.WebApplicationContext applicationContext
           
protected  java.util.Map attributes
           
protected  org.springframework.beans.BeanWrapper bean
           
protected  java.lang.String contextPath
           
protected  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
           
 
Constructor Summary
protected RequestContextTag(java.lang.String name)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

protected java.io.Writer out

attributes

protected java.util.Map attributes

request

protected javax.servlet.ServletRequest request

contextPath

protected java.lang.String contextPath

urlPathHelper

protected org.springframework.web.util.UrlPathHelper urlPathHelper

registry

protected GrailsTagRegistry registry

bean

protected org.springframework.beans.BeanWrapper bean

servletContext

protected javax.servlet.ServletContext servletContext

response

protected javax.servlet.ServletResponse response

applicationContext

protected org.springframework.web.context.WebApplicationContext applicationContext

grailsApplication

protected GrailsApplication grailsApplication
Constructor Detail

RequestContextTag

protected RequestContextTag(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface GrailsTag
Returns:
The name of the tag

init

public void init(java.util.Map context)
Specified by:
init in interface GrailsTag

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)
Description copied from interface: GrailsTag
Sets an attribute of the tag

Specified by:
setAttribute in interface GrailsTag

getRegistry

public GrailsTagRegistry getRegistry()

setWriter

public void setWriter(java.io.Writer w)
Description copied from interface: GrailsTag
Sets the writer that processes the tag

Specified by:
setWriter in interface GrailsTag

setAttributes

public void setAttributes(java.util.Map attributes)
Description copied from interface: GrailsTag
Sets the attributes of the tag

Specified by:
setAttributes in interface GrailsTag

doStartTag

public final void doStartTag()
Description copied from interface: GrailsTag
Process the start tag

Specified by:
doStartTag in interface GrailsTag

doStartTagInternal

protected abstract void doStartTagInternal()

doEndTagInternal

protected abstract void doEndTagInternal()

doEndTag

public final void doEndTag()
Description copied from interface: GrailsTag
process the end tag

Specified by:
doEndTag in interface GrailsTag


Copyright (c) 2005-2006 The Grails project