|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport org.opengts.war.track.taglib.RTConfigTag
public class RTConfigTag
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
RTConfigTag()
|
Method Summary | |
---|---|
int |
doAfterBody()
Invoked after body content is evaluated |
int |
doEndTag()
Tag handler override May return: EVAL_PAGE SKIP_PAGE |
void |
doInitBody()
Invoked before the body of the tag is evaluated but after body content is set |
int |
doStartTag()
Tag handler override May return: EVAL_BODY_INCLUDE (only if BodyTag interface NOT implemented) EVAL_BODY_TAG (only if BodyTag interface IS implemented) EVAL_BODY_BUFFERED SKIP_BODY |
java.lang.String |
getAndFalse()
Gets the "andFalse" attribute |
java.lang.String |
getAndKey()
Gets the "andKey" attribute |
java.lang.String |
getAndTrue()
Gets the "andTrue" attribute |
java.lang.String |
getAttributeValue(java.lang.String key,
java.lang.String dft)
Gets the Session attribute for the specified key |
java.lang.String |
getCompare()
Gets the "compare" type |
java.lang.String |
getCompare(java.lang.String dft)
Gets the "compare" type |
java.lang.String |
getIf()
Gets the "if" attribute |
java.lang.String |
getIfDefined()
Gets the "ifDefined" attribute |
java.lang.String |
getIfElse()
Gets the "ifElse" attribute |
java.lang.String |
getIfElseKey()
Gets the "ifElseKey" attribute |
java.lang.String |
getIfFalse()
Gets the "ifFalse" attribute |
java.lang.String |
getIfKey()
Gets the "ifKey" attribute |
java.lang.String |
getIfTrue()
Gets the "ifTrue" attribute |
java.lang.String |
getKeyValue(java.lang.String key,
java.lang.String arg,
java.lang.String dft)
|
java.lang.String |
getOrFalse()
Gets the "orFalse" attribute |
java.lang.String |
getOrKey()
Gets the "orKey" attribute |
java.lang.String |
getOrTrue()
Gets the "orTrue" attribute |
java.lang.String |
getValue()
Gets the comparison value |
java.lang.String |
getValue(java.lang.String dft)
Gets the comparison value |
boolean |
hasElse()
Returns true if an 'else' exists |
boolean |
isMatch()
Returns true if the attribute key matches the current comparison value, based on the comparison type. |
void |
release()
Release resources |
void |
setAndFalse(java.lang.String k)
Sets the "andFalse" attribute |
void |
setAndTrue(java.lang.String k)
Sets the "andTrue" attribute |
void |
setBodyContent(javax.servlet.jsp.tagext.BodyContent body)
|
void |
setCompare(java.lang.String comp)
Sets the "compare" type |
void |
setIf(java.lang.String k)
Sets the "if" attribute |
void |
setIfDefined(java.lang.String k)
Sets the "ifDefined" attribute |
void |
setIfElse(java.lang.String k)
Sets the "ifElseKey" attribute |
void |
setIfElseKey(java.lang.String k)
Sets the "ifElseKey" attribute |
void |
setIfFalse(java.lang.String k)
Sets the "ifFalse" attribute |
void |
setIfKey(java.lang.String k)
Sets the "ifKey" attribute |
void |
setIfTrue(java.lang.String k)
Sets the "ifTrue" attribute |
void |
setOrFalse(java.lang.String k)
Sets the "orFalse" attribute |
void |
setOrTrue(java.lang.String k)
Sets the "orTrue" attribute |
void |
setValue(java.lang.String val)
Sets the comparison value |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
getBodyContent, getPreviousOut |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
findAncestorWithClass, getId, getParent, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Constructor Detail |
---|
public RTConfigTag()
Method Detail |
---|
public java.lang.String getIfKey()
public java.lang.String getIf()
public java.lang.String getIfDefined()
public java.lang.String getIfTrue()
public java.lang.String getIfFalse()
public void setIfKey(java.lang.String k)
k
- The "ifKey" attribute valuepublic void setIf(java.lang.String k)
k
- The "if" attribute valuepublic void setIfDefined(java.lang.String k)
k
- The "ifDefined" attribute valuepublic void setIfTrue(java.lang.String k)
k
- The "ifTrue" attribute valuepublic void setIfFalse(java.lang.String k)
k
- The "ifFalse" attribute valuepublic java.lang.String getIfElseKey()
public java.lang.String getIfElse()
public void setIfElseKey(java.lang.String k)
k
- The "ifElseKey" attribute valuepublic void setIfElse(java.lang.String k)
k
- The "ifElseKey" attribute valuepublic boolean hasElse()
public java.lang.String getAndKey()
public java.lang.String getAndTrue()
public void setAndTrue(java.lang.String k)
k
- The "andTrue" attribute valuepublic java.lang.String getAndFalse()
public void setAndFalse(java.lang.String k)
k
- The "andFalse" attribute valuepublic java.lang.String getOrKey()
public java.lang.String getOrTrue()
public void setOrTrue(java.lang.String k)
k
- The "orTrue" attribute valuepublic java.lang.String getOrFalse()
public void setOrFalse(java.lang.String k)
k
- The "orFalse" attribute valuepublic java.lang.String getAttributeValue(java.lang.String key, java.lang.String dft)
key
- The attribute keydft
- The default value
public java.lang.String getKeyValue(java.lang.String key, java.lang.String arg, java.lang.String dft)
getKeyValue
in interface StringTools.KeyValueMap
public java.lang.String getCompare(java.lang.String dft)
public java.lang.String getCompare()
public void setCompare(java.lang.String comp)
comp
- The "compare" typepublic java.lang.String getValue(java.lang.String dft)
getValue
in class javax.servlet.jsp.tagext.TagSupport
dft
- The default returned value if the comparison value has not been defined
public java.lang.String getValue()
public void setValue(java.lang.String val)
val
- The comparison valuepublic boolean isMatch()
public int doStartTag() throws javax.servlet.jsp.JspTagException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspTagException
public int doEndTag() throws javax.servlet.jsp.JspTagException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspTagException
public void setBodyContent(javax.servlet.jsp.tagext.BodyContent body)
setBodyContent
in interface javax.servlet.jsp.tagext.BodyTag
setBodyContent
in class javax.servlet.jsp.tagext.BodyTagSupport
public void doInitBody() throws javax.servlet.jsp.JspException
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
doInitBody
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |