
public class CheckRequestContextTag extends WikiTagBase
WikiContext,
Serialized FormATTR_CONTEXT, m_wikiContext| Constructor and Description |
|---|
CheckRequestContextTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants.
|
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(String arg)
Set the context to check for.
|
doCatch, doEndTag, doFinally, doStartTag, setId, setPageContextpublic CheckRequestContextTag()
public void initTag()
initTag in class WikiTagBasepublic String getContext()
public void setContext(String arg)
arg - One of the RequestsContexts.public final int doWikiStartTag() throws IOException, ProviderException
doWikiStartTag in class WikiTagBaseIOExceptionProviderExceptionCopyright © 2001-2018 The Apache Software Foundation. All rights reserved.