You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by bu...@apache.org on 2012/02/15 09:42:12 UTC
svn commit: r804893 - in /websites/staging/stanbol/trunk: ./
content/stanbol/docs/trunk/enhancer/contentitem.html
Author: buildbot
Date: Wed Feb 15 08:42:12 2012
New Revision: 804893
Log:
Staging update by buildbot for stanbol
Modified:
websites/staging/stanbol/trunk/ (props changed)
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/enhancer/contentitem.html
Propchange: websites/staging/stanbol/trunk/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Feb 15 08:42:12 2012
@@ -1 +1 @@
-1244395
+1244396
Modified: websites/staging/stanbol/trunk/content/stanbol/docs/trunk/enhancer/contentitem.html
==============================================================================
--- websites/staging/stanbol/trunk/content/stanbol/docs/trunk/enhancer/contentitem.html (original)
+++ websites/staging/stanbol/trunk/content/stanbol/docs/trunk/enhancer/contentitem.html Wed Feb 15 08:42:12 2012
@@ -61,7 +61,8 @@
<p>The content item is the object that represents the content that is enhanced by the Apache Stanbol enhancer. The content item is created based on the data provided by the enhancement request and used throughout the enhancement process to store results. Therefore, after the enhancement process has finished, the content item represents the result of the Apache Stanbol enhancement process.</p>
<p>The following section describes the interface of the content item in more detail.</p>
<h3 id="content_parts">Content Parts</h3>
-<p>Content parts are used to represent the original content as well as transformations of the original content (typically created by pre-processing <a href="engines/list.html">enhancement engines</a> such as the <a href="engines/metaxaengine.html">Metaxa engine</a>)</p>
+<p>Content parts are used to represent the original content as well as transformations of the original content (typically created by pre-processing <a href="engines/list.html">enhancement engines</a> such as the <a href="engines/metaxaengine.html">Metaxa engine</a>). </p>
+<p>The ContentItem provides the following API to work with ContentParts:</p>
<div class="codehilite"><pre><span class="sr">/** Getter for the ContentPart based on the index */</span>
<span class="n">getPart</span><span class="p">(</span><span class="nb">int</span> <span class="nb">index</span><span class="p">,</span> <span class="n">Class</span><span class="sr"><T></span> <span class="n">type</span><span class="p">)</span> <span class="p">:</span> <span class="n">T</span>
<span class="sr">/** Getter for the ContentPart based on its ID */</span>