|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface JspTag
An interface that represents a JSP tag that can be invoked by Grails
Method Summary | |
---|---|
void
|
doTag(java.io.Writer targetWriter, java.util.Map attributes)
Main method to invoke a tag library and output to the target write |
void
|
doTag(java.io.Writer targetWriter, java.util.Map attributes, groovy.lang.Closure body)
Invokes a tag with a closure representing the body of the tag |
boolean
|
isBodyTag()
@return Return true if the tag class implements the BodyTag interface |
boolean
|
isIterationTag()
@return Return true if the tag class implements the IterationTag interface |
boolean
|
isTryCatchFinallyTag()
@return Return true if the tag class implements the TryCatchFinally interface |
Method Detail |
---|
@SuppressWarnings("rawtypes") public void doTag(java.io.Writer targetWriter, java.util.Map attributes)
targetWriter
- The writer the tag should write toattributes
- The tag attributes
@SuppressWarnings("rawtypes") public void doTag(java.io.Writer targetWriter, java.util.Map attributes, groovy.lang.Closure body)
targetWriter
- The target writer to write toattributes
- The tag attributesbody
- The body of the tag
public boolean isBodyTag()
public boolean isIterationTag()
public boolean isTryCatchFinallyTag()
Groovy Documentation