public class CheckRequestContextTag extends WikiTagBase
WikiContext,
Serialized Formm_wikiContext| Constructor and Description |
|---|
CheckRequestContextTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants.
|
java.lang.String |
getContext()
Returns the context.
|
void |
initTag()
This method is called when the tag is encountered within a new request, but before the setXXX() methods are called.
|
void |
setContext(java.lang.String arg)
Set the context to check for.
|
doCatch, doEndTag, doFinally, doStartTag, setId, setPageContextpublic CheckRequestContextTag()
public void initTag()
initTag in class WikiTagBasepublic java.lang.String getContext()
public void setContext(java.lang.String arg)
arg - One of the RequestsContexts.public final int doWikiStartTag() throws java.io.IOException, ProviderException
doWikiStartTag in class WikiTagBasejava.io.IOExceptionProviderExceptionCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.