Wiki source code of API

Version 238.1 by Silvia Macovei on 2010/02/26

Show last authors
1 = XWiki API Reference =
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).
4
5 {{velocity filter="none"}}
6 {{html clean="false" wiki="true"}}
7 #set($versionStable = "2.2")
8 #set($nameStable = $versionStable)
9 ##set($versionDev = "2.2-rc-2")
10 ##set($nameDev = "2.2RC2")
11 #set($versionOldStable = "2.1.2")
12 #set($nameOldStable = $versionOldStable)
13
14 The latest API documentation is available as JavaDoc:
15 <p/>
16 #set ($url1 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-${versionStable}-javadoc.jar", "index.html"))
17 #set ($url3 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-rendering-api-${versionStable}-javadoc.jar", "index.html"))
18 #if ($versionDev)#set ($url2 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-${versionDev}-javadoc.jar", "index.html"))#end
19 #if ($versionDev)#set ($url4 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-rendering-api-${versionDev}-javadoc.jar", "index.html"))#end
20 #if ($versionOldStable)#set ($url5 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-${versionOldStable}-javadoc.jar", "index.html"))#end
21 #if ($versionOldStable)#set ($url6 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-rendering-api-${versionOldStable}-javadoc.jar", "index.html"))#end
22
23 ##* [Javadoc for XWiki Platform Core - Trunk>http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/index.html] (generated every day automatically)
24 * <a href="$url1">Javadoc for XWiki Platform Core - $nameStable</a> (stable)
25 <p/>
26 #if ($versionDev)* <a href="$url2">Javadoc for XWiki Platform Core - $nameDev</a> (dev)#end
27
28 #if ($versionOldStable)* <a href="$url5">Javadoc for XWiki Platform Core - $nameOldStable</a> (older stable)#end
29
30 You might too be interested by the Rendering Engine API:
31
32 * <a href="$url3">Javadoc for XWiki Platform Rendering API - $nameStable</a> (stable)
33 <p/>
34 #if ($versionDev)* <a href="$url4">Javadoc for XWiki Platform Rendering API - $nameDev</a> (dev)#end
35
36 #if ($versionOldStable)* <a href="$url4">Javadoc for XWiki Platform Rendering API - $nameOldStable</a> (older stable)#end
37
38 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 ##javadoc## for the version you wish under [[this directory>>http://maven.xwiki.org/releases/com/xpn/xwiki/platform/xwiki-core/]].
39 {{/html}}
40 {{/velocity}}

Get Connected