public class InsertPageTag extends WikiTagBase
This tag sets the "realPage" field of the WikiContext to point at the inserted page, while the "page" will contain the actual page in which the rendering is being made.
Attributes
| Modifier and Type | Field and Description |
|---|---|
static int |
HTML |
protected java.lang.String |
m_pageName |
static int |
PLAIN |
m_wikiContext| Constructor and Description |
|---|
InsertPageTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants.
|
java.lang.String |
getPage() |
void |
initTag()
This method is called when the tag is encountered within a new request, but before the setXXX() methods are called.
|
void |
setMode(java.lang.String arg) |
void |
setPage(java.lang.String page) |
doCatch, doEndTag, doFinally, doStartTag, setId, setPageContextpublic static final int HTML
public static final int PLAIN
protected java.lang.String m_pageName
public InsertPageTag()
public void initTag()
WikiTagBaseinitTag in class WikiTagBasepublic void setPage(java.lang.String page)
public java.lang.String getPage()
public void setMode(java.lang.String arg)
public final int doWikiStartTag() throws java.io.IOException, ProviderException
WikiTagBasedoWikiStartTag in class WikiTagBasejava.io.IOExceptionProviderExceptionCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.