Wiki source code of API

Version 237.1 by Thomas Mortagne on 2010/02/16

Hide last authors
Vincent Massol 1.1 1 1 XWiki API Reference
2
Vincent Massol 156.2 3 XWiki's APIs are the methods that the XWiki development team consider safe for you to use (i.e. for which backward compatibility is guaranteed). They can be called from Java or directly from your wiki pages [using a scripting language>DevGuide.Scripting] (either Velocity or Groovy).
Vincent Massol 1.1 4
Thomas Mortagne 202.1 5 #set($versionStable = "2.2")
Thomas Mortagne 128.1 6 #set($nameStable = $versionStable)
Thomas Mortagne 202.1 7 ##set($versionDev = "2.2-rc-2")
8 ##set($nameDev = "2.2RC2")
9 #set($versionOldStable = "2.1.2")
Thomas Mortagne 178.1 10 #set($nameOldStable = $versionOldStable)
Thomas Mortagne 128.1 11
Vincent Massol 1.24 12 The latest API documentation is available as JavaDoc:
Thomas Mortagne 178.1 13
Thomas Mortagne 128.1 14 #set ($url1 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-${versionStable}-javadoc.jar", "index.html"))
Thomas Mortagne 178.1 15 #set ($url3 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-rendering-api-${versionStable}-javadoc.jar", "index.html"))
Thomas Mortagne 151.1 16 #if ($versionDev)#set ($url2 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-${versionDev}-javadoc.jar", "index.html"))#end
17 #if ($versionDev)#set ($url4 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-rendering-api-${versionDev}-javadoc.jar", "index.html"))#end
Thomas Mortagne 178.1 18 #if ($versionOldStable)#set ($url5 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-${versionOldStable}-javadoc.jar", "index.html"))#end
19 #if ($versionOldStable)#set ($url6 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-rendering-api-${versionOldStable}-javadoc.jar", "index.html"))#end
20
Vincent Massol 100.2 21 ##* [Javadoc for XWiki Platform Core - Trunk>http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/index.html] (generated every day automatically)
Thomas Mortagne 190.1 22 * <a href="$url1">Javadoc for XWiki Platform Core - $nameStable</a> (stable)
23 #if ($versionDev)* <a href="$url2">Javadoc for XWiki Platform Core - $nameDev</a> (dev)#end
Thomas Mortagne 189.1 24
Thomas Mortagne 190.1 25 #if ($versionOldStable)* <a href="$url5">Javadoc for XWiki Platform Core - $nameOldStable</a> (older stable)#end
Vincent Massol 1.1 26
Jerome 104.2 27 You might too be interested by the Rendering Engine API:
28
Thomas Mortagne 190.1 29 * <a href="$url3">Javadoc for XWiki Platform Rendering API - $nameStable</a> (stable)
30 #if ($versionDev)* <a href="$url4">Javadoc for XWiki Platform Rendering API - $nameDev</a> (dev)#end
Thomas Mortagne 189.1 31
Thomas Mortagne 190.1 32 #if ($versionOldStable)* <a href="$url4">Javadoc for XWiki Platform Rendering API - $nameOldStable</a> (older stable)#end
Jerome 104.2 33
Vincent Massol 1.24 34 Older Javadocs of XWiki can be found in our [Maven Release repository>http://maven.xwiki.org/releases]. For example for XWiki Platform Core Javadocs check the files suffixed by <tt>javadoc</tt> for the version you wish under [this directory>http://maven.xwiki.org/releases/com/xpn/xwiki/platform/xwiki-core/].
Thomas Mortagne 1.43 35
Thomas Mortagne 98.1 36

Get Connected