chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r859099 - in /websites/staging/chemistry/trunk/content: ./ java/examples/example-get-extension.html
Date Fri, 19 Apr 2013 10:29:20 GMT
Author: buildbot
Date: Fri Apr 19 10:29:20 2013
New Revision: 859099

Log:
Staging update by buildbot for chemistry

Modified:
    websites/staging/chemistry/trunk/content/   (props changed)
    websites/staging/chemistry/trunk/content/java/examples/example-get-extension.html

Propchange: websites/staging/chemistry/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Apr 19 10:29:20 2013
@@ -1 +1 @@
-1455439
+1469771

Modified: websites/staging/chemistry/trunk/content/java/examples/example-get-extension.html
==============================================================================
--- websites/staging/chemistry/trunk/content/java/examples/example-get-extension.html (original)
+++ websites/staging/chemistry/trunk/content/java/examples/example-get-extension.html Fri
Apr 19 10:29:20 2013
@@ -211,7 +211,7 @@ Think of it as a tree structure with nam
 
 <span class="c1">// iterate through the extensions until we find the one we are looking
for</span>
 <span class="k">for</span><span class="o">(</span><span class="n">CmisExtensionElement</span>
<span class="nl">ext:</span> <span class="n">extensions</span><span
class="o">)</span> <span class="o">{</span>
-   <span class="k">if</span><span class="o">(</span><span class="s">&quot;myExtension&quot;</span><span
class="o">.</span><span class="na">equals</span><span class="o">(</span><span
class="n">ext</span><span class="o">.</span><span class="na">getName</span><span
class="o">())</span> <span class="o">{</span>
+   <span class="k">if</span><span class="o">(</span><span class="s">&quot;myExtension&quot;</span><span
class="o">.</span><span class="na">equals</span><span class="o">(</span><span
class="n">ext</span><span class="o">.</span><span class="na">getName</span><span
class="o">()))</span> <span class="o">{</span>
      <span class="c1">// found it, now print the values of the children     </span>
      <span class="k">for</span><span class="o">(</span><span class="n">CmisExtensionElement</span>
<span class="nl">child:</span> <span class="n">ext</span><span
class="o">.</span><span class="na">getChildren</span><span class="o">())</span>
<span class="o">{</span>
     <span class="n">System</span><span class="o">.</span><span
class="na">out</span><span class="o">.</span><span class="na">println</span><span
class="o">(</span><span class="n">child</span><span class="o">.</span><span
class="na">getName</span><span class="o">()</span> <span class="o">+</span>
<span class="s">&quot;: &quot;</span> <span class="o">+</span>
<span class="n">child</span><span class="o">.</span><span class="na">getValue</span><span
class="o">());</span>



Mime
View raw message