|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.xpn.xwiki.api.Api
com.xpn.xwiki.plugin.diff.DiffPluginApi
@Deprecated public class DiffPluginApi
Field Summary |
---|
Fields inherited from class com.xpn.xwiki.api.Api |
---|
context |
Constructor Summary | |
---|---|
DiffPluginApi(DiffPlugin plugin,
XWikiContext context)
Deprecated. |
Method Summary | |
---|---|
String |
getDifferencesAsHTML(String text1,
String text2)
Deprecated. Return an html blocks representing line diffs between text1 and text2 |
String |
getDifferencesAsHTML(String text1,
String text2,
boolean allDoc)
Deprecated. Return an html blocks representing line diffs between text1 and text2 |
List |
getDifferencesAsList(String text1,
String text2)
Deprecated. Return a list of Delta objects representing line differences in text1 and text2 |
DiffPlugin |
getPlugin()
Deprecated. |
String |
getWordDifferencesAsHTML(String text1,
String text2)
Deprecated. Return an html blocks representing word diffs between text1 and text2 |
List |
getWordDifferencesAsList(String text1,
String text2)
Deprecated. Return a list of Delta objects representing word differences in text1 and text2 |
void |
setPlugin(DiffPlugin plugin)
Deprecated. |
Methods inherited from class com.xpn.xwiki.api.Api |
---|
convert, convert, convert, convertAttachments, getXWikiContext, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiffPluginApi(DiffPlugin plugin, XWikiContext context)
Method Detail |
---|
public DiffPlugin getPlugin()
public void setPlugin(DiffPlugin plugin)
public List getDifferencesAsList(String text1, String text2) throws XWikiException
text1
- original contenttext2
- revised content
XWikiException
public String getDifferencesAsHTML(String text1, String text2) throws XWikiException
text1
- original contenttext2
- revised content
XWikiException
public String getDifferencesAsHTML(String text1, String text2, boolean allDoc) throws XWikiException
text1
- original contenttext2
- revised contentallDoc
- view all document or only changes
XWikiException
public List getWordDifferencesAsList(String text1, String text2) throws XWikiException
text1
- original contenttext2
- revised content
XWikiException
public String getWordDifferencesAsHTML(String text1, String text2) throws XWikiException
text1
- original contenttext2
- revised content
XWikiException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |