public class InsertDiffTag extends WikiTagBase
Attributes
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_NEWVERSION
Attribute which is used to store the new page content to the Page Context
|
static String |
ATTR_OLDVERSION
Attribute which is used to store the old page content to the Page Context
|
protected String |
m_pageName |
ATTR_CONTEXT, 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.
|
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(String page)
Sets the page name.
|
doCatch, doEndTag, doFinally, doStartTag, setId, setPageContext
public static final String ATTR_OLDVERSION
public static final String ATTR_NEWVERSION
protected String m_pageName
public InsertDiffTag()
public void initTag()
initTag
in class WikiTagBase
public void setPage(String page)
page
- Page to get diff from.public final int doWikiStartTag() throws IOException
doWikiStartTag
in class WikiTagBase
IOException
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.