|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.web.taglib.GroovySyntaxTag org.codehaus.groovy.grails.web.taglib.GroovyElseIfTag
public class GroovyElseIfTag
Field Summary | |
---|---|
static String |
TAG_NAME
|
Fields inherited from class org.codehaus.groovy.grails.web.taglib.GroovySyntaxTag |
---|
ATTRIBUTE_IN, ATTRIBUTE_VAR, attributes, ATTRIBUTES_STATUS, out, parser, tagContext |
Constructor Summary | |
---|---|
GroovyElseIfTag()
|
Method Summary | |
---|---|
void |
doEndTag()
process the end tag |
void |
doStartTag()
Process the start tag |
String |
getName()
|
boolean |
isAllowPrecedingContent()
Tags must return the correct value to indicate whether or not non-whitespace content is permitted before this tag. |
boolean |
isKeepPrecedingWhiteSpace()
Tags must return the correct value to indicate whether or not whitespace before this tag should be kept in the output. |
Methods inherited from class org.codehaus.groovy.grails.web.taglib.GroovySyntaxTag |
---|
calculateExpression, doEachMethod, init, setAttribute, setAttributes, setWriter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TAG_NAME
Constructor Detail |
---|
public GroovyElseIfTag()
Method Detail |
---|
public void doStartTag()
GrailsTag
public void doEndTag()
GrailsTag
public String getName()
public boolean isKeepPrecedingWhiteSpace()
GroovySyntaxTag
Tags must return the correct value to indicate whether or not whitespace before this tag should be kept in the output.
This is for tags that must follow other tags, such as g:else or g:elseif that do not allow content between them and the previous tag, and need to swallow the whitespace between them.
isKeepPrecedingWhiteSpace
in class GroovySyntaxTag
public boolean isAllowPrecedingContent()
GroovySyntaxTag
Tags must return the correct value to indicate whether or not non-whitespace content is permitted before this tag.
This is for tags that must follow other tags, such as g:else or g:elseif that do not allow content between them and the previous tag. It is simply used as a safety mechanism to trap incorrect usage of tags.
isAllowPrecedingContent
in class GroovySyntaxTag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |