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, setPageContext
public CheckRequestContextTag()
public void initTag()
initTag
in class WikiTagBase
public String getContext()
public void setContext(String arg)
arg
- One of the RequestsContexts.public final int doWikiStartTag() throws IOException, ProviderException
doWikiStartTag
in class WikiTagBase
IOException
ProviderException
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.