public class UserCheckTag extends WikiTagBase
exists="true" ==> status="known"
exists="false" ==> status="unknown"
It is NOT a good idea to use BOTH of the arguments.
ATTR_CONTEXT, m_wikiContext| Constructor and Description |
|---|
UserCheckTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants.
|
String |
getStatus()
Get the status as defined above.
|
void |
initTag()
This method is called when the tag is encountered within a new request,
but before the setXXX() methods are called.
|
void |
setStatus(String status)
Sets the status as defined above.
|
doCatch, doEndTag, doFinally, doStartTag, setId, setPageContextpublic UserCheckTag()
public void initTag()
initTag in class WikiTagBasepublic String getStatus()
public void setStatus(String status)
status - The status to be checked.public final int doWikiStartTag()
doWikiStartTag in class WikiTagBaseWikiTagBase.doWikiStartTag()Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.