From version < 304.1 >
edited by Sergiu Dumitriu
on 2010/07/22
To version < 305.1 >
edited by Thomas Mortagne
on 2010/08/05
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Sergiu
1 +XWiki.ThomasMortagne
Content
... ... @@ -2,6 +2,13 @@
2 2  
3 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 4  
5 +#macro(coreJavadocUrl $version)
6 +http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/com/xpn/xwiki/platform/xwiki-core/$version/xwiki-core-$version-javadoc.jar/!/index.html
7 +#end
8 +#macro(renderingJavadocUrl $version)
9 +http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/org/xwiki/platform/xwiki-core-rendering-api/$version/xwiki-core-rendering-api-$version-javadoc.jar/!/index.html
10 +#end
11 +
5 5  #set($versionStable = "2.4")
6 6  #set($nameStable = $versionStable)
7 7  ##set($versionDev = "2.5-rc-1")
... ... @@ -11,24 +11,22 @@
11 11  
12 12  The latest API documentation is available as JavaDoc:
13 13  
14 -#set ($url1 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-${versionStable}-javadoc.jar", "index.html"))
15 -#set ($url3 = $xwiki.getPlugin("zipexplorer").getFileLink($doc, "xwiki-core-rendering-api-${versionStable}-javadoc.jar", "index.html"))
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
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 -
21 21  ##* [Javadoc for XWiki Platform Core - Trunk>http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/index.html] (generated every day automatically)
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
22 +* [[Javadoc for XWiki Platform Core - $nameStable>>#coreJavadocUrl($versionStable)]] (stable)
23 +#if ($versionDev)
24 +* [[Javadoc for XWiki Platform Core - $nameDev>>#coreJavadocUrl($versionDev)]] (dev)
25 +#end
26 +#if ($versionOldStable)
27 +* [[Javadoc for XWiki Platform Core - $nameOldStable>>>#coreJavadocUrl($versionOldStable)]] (older stable)#end
24 24  
25 -#if ($versionOldStable)* <a href="$url5">Javadoc for XWiki Platform Core - $nameOldStable</a> (older stable)#end
26 -
27 27  You might too be interested by the Rendering Engine API:
28 28  
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
31 +* [[Javadoc for XWiki Platform Rendering API - $nameStable>>#renderingJavadocUrl($versionStable)]] (stable)
32 +#if ($versionDev)
33 +* [[Javadoc for XWiki Platform Rendering API - $nameDev>>#renderingJavadocUrl($versionDev)]] (dev)
34 +#end
35 +#if ($versionOldStable)
36 +* [[Javadoc for XWiki Platform Rendering API - $nameOldStable>>#renderingJavadocUrl($versionOldStable)]] (older stable)
37 +#end
31 31  
32 -#if ($versionOldStable)* <a href="$url6">Javadoc for XWiki Platform Rendering API - $nameOldStable</a> (older stable)#end
33 -
34 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/].

Get Connected