public class InsertDiffTag extends WikiTagBase
Attributes
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_NEWVERSION
Attribute which is used to store the new page content to the Page Context
|
static java.lang.String |
ATTR_OLDVERSION
Attribute which is used to store the old page content to the Page Context
|
protected java.lang.String |
m_pageName |
m_wikiContext| Constructor and Description |
|---|
InsertDiffTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doWikiStartTag()
This method is allowed to do pretty much whatever he wants.
|
java.lang.String |
getPage()
Gets the page name.
|
void |
initTag()
This method is called when the tag is encountered within a new request, but before the setXXX() methods are called.
|
void |
setPage(java.lang.String page)
Sets the page name.
|
doCatch, doEndTag, doFinally, doStartTag, setId, setPageContextpublic static final java.lang.String ATTR_OLDVERSION
public static final java.lang.String ATTR_NEWVERSION
protected java.lang.String m_pageName
public InsertDiffTag()
public void initTag()
initTag in class WikiTagBasepublic void setPage(java.lang.String page)
page - Page to get diff from.public java.lang.String getPage()
public final int doWikiStartTag() throws java.io.IOException
doWikiStartTag in class WikiTagBasejava.io.IOExceptionCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.