chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r785929 [4/6] - in /websites/production/chemistry: ./ content/ content/data/ content/dotnet/ content/images/ content/java/ content/php/ content/python/ content/resources/
Date Tue, 22 Feb 2011 09:11:34 GMT
Modified: websites/production/chemistry/content/opencmis-client-api.html
==============================================================================
--- websites/production/chemistry/content/opencmis-client-api.html (original)
+++ websites/production/chemistry/content/opencmis-client-api.html Tue Feb 22 09:11:32 2011
@@ -15,13 +15,14 @@
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
+
 -->
 <html>
   <head>
-    <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/chemistry/resources/site.css"></link>
-    <script src="http://incubator.apache.org/chemistry/resources/space.js" type="text/javascript"></script>
+    <link type="text/css" rel="stylesheet" href="/resources/site.css"></link>
+    <script src="/resources/space.js" type="text/javascript"></script>
     <meta name="keywords" content="CMIS, Content Management Interoperability Service, ECM, Enterprise Content Management, OASIS, integration standards, Chemistry, OpenCMIS"/>
-    <meta name="description" content"Apache Chemistry, CMIS Implementation" />
+    <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <title>
 Apache Chemistry - OpenCMIS Client API
     </title>
@@ -42,9 +43,14 @@ Apache Chemistry - OpenCMIS Client API
 <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
 <TR>
 <TD align="left" class="topbardiv" nowrap="">
-<A href="http://incubator.apache.org/chemistry" title="Apache Chemistry">
-<IMG border="0" src="http://incubator.apache.org/chemistry/images/chemistry_logo_small.png"/>
-</A>
+  <A href="http://chemistry.apache.org/" title="Apache Chemistry">
+    <IMG border="0" src="/images/chemistry_tm_logo_small.png"/>
+  </A>
+</TD>
+<TD align="right" nowrap="">
+  <A href="http://www.apache.org/" title="The Apache Software Foundation">
+    <IMG border="0" src="/images/asf-logo.png"/>
+  </A>
 </TD>
 </TR>
 </TABLE>
@@ -64,7 +70,13 @@ Apache Chemistry - OpenCMIS Client API
               <td>
                 <div align="right">
                 <!-- Quicklinks -->
-<P><A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A> <A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A> <A href="sitemap.html" title="SiteMap">Site Map</A></P>
+<P>
+<A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A>
+|
+<A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A>
+|
+<A href="sitemap.html" title="SiteMap">Site Map</A>
+</P>
                 <!-- Quicklinks -->
                 </div>
               </td>
@@ -162,15 +174,17 @@ Apache Chemistry - OpenCMIS Client API
              <!-- Content -->
              <div class="wiki-content"><p><a name="OpenCMISClientAPI-OpenCMISClientAPI"></a></p>
 <h1 id="opencmis_client_api">OpenCMIS Client API</h1>
-<p>{info:title=Table of Content}
-<em> <a href="#OpenCMISClientAPI-Sessions">Sessions</a>
-</em> <a href="#OpenCMISClientAPI-ExampleCode">Example Code</a>
-   * <a href="#OpenCMISClientAPI-SessionCreation-AtomPubBinding">Session Creation - AtomPub Binding</a>
-   * <a href="#OpenCMISClientAPI-SessionCreation-WebServicesBinding">Session Creation - Web Services Binding</a>
-   * <a href="#OpenCMISClientAPI-ReadingObjects-RootCollection">Reading Objects - Root Collection</a>
-   * <a href="#OpenCMISClientAPI-ReadingProperties-SingleProperty">Reading Properties - Single Property</a>
-   * <a href="#OpenCMISClientAPI-ReadingProperties-AllProperties">Reading Properties - All Properties</a>
-{info}</p>
+<p>Table of Content</p>
+<ul>
+<li><a href="#OpenCMISClientAPI-Sessions">Sessions</a></li>
+<li><a href="#OpenCMISClientAPI-ExampleCode">Example Code</a></li>
+<li><a href="#OpenCMISClientAPI-SessionCreation-AtomPubBinding">Session Creation - AtomPub Binding</a></li>
+<li><a href="#OpenCMISClientAPI-SessionCreation-WebServicesBinding">Session Creation - Web Services Binding</a></li>
+<li><a href="#OpenCMISClientAPI-ReadingObjects-RootCollection">Reading Objects - Root Collection</a></li>
+<li><a href="#OpenCMISClientAPI-ReadingProperties-SingleProperty">Reading Properties - Single Property</a></li>
+<li><a href="#OpenCMISClientAPI-ReadingProperties-AllProperties">Reading Properties - All Properties</a></li>
+</ul>
+<h2 id="overview">Overview</h2>
 <p>The OpenCMIS client layer provides an object oriented interface for easy
 consumption of the underlying CMIS related layers. In addition to the CMIS
 specification the OpenCMIS client layer introduces a session concept which
@@ -181,43 +195,55 @@ runtime implementation. The runtime maps
 bindings layer and implements the session cache. All parts are exposed by
 following packages:</p>
 <table>
-<tr><th> Package </th><th> Artifact </th><th> Description </th></tr>
-<tr><td> org.apache.chemistry.opencmis.client.api </td><td> chemistry-opencmis-client-api
-</td><td> Main interfaces of the client API </td></tr>
-<tr><td> org.apache.chemistry.opencmis.commons.api </td><td>
-chemistry-opencmis-commons-api </td><td> Interfaces and classes shared by client
-and client bindings API </td></tr>
-<tr><td> org.apache.chemistry.opencmis.client.runtime </td><td>
-chemistry-opencmis-client-impl </td><td> Implementation classes of client API
-including a default implementation of the SessionFactory </td></tr>
+<tr>
+ <th> Package </th>
+ <th> Artifact </th>
+ <th> Description </th>
+</tr>
+<tr>
+ <td> org.apache.chemistry.opencmis.client.api </td>
+ <td> chemistry-opencmis-client-api </td>
+ <td> Main interfaces of the client API </td>
+</tr>
+<tr>
+ <td> org.apache.chemistry.opencmis.commons.api </td>
+ <td> chemistry-opencmis-commons-api </td>
+ <td> Interfaces and classes shared by client and client bindings API </td>
+</tr>
+<tr>
+ <td> org.apache.chemistry.opencmis.client.runtime </td>
+ <td> chemistry-opencmis-client-impl </td>
+ <td> Implementation classes of client API including a default implementation of the SessionFactory </td>
+</tr>
 </table>
 
 <p>The following UML diagram illustrates the main classes of the client API:</p>
-<p>!OpenCMIS Client API Class Diagram.png!</p>
+<p><img src="data/OpenCMIS Client API Class Diagram.png">
+<br/></p>
 <ul>
-<li><em>SessionFactory</em> This interface provides the entry point into the client
+<li><strong>SessionFactory</strong> This interface provides the entry point into the client
 API and is responsible to create a session object. Additionally it gives
 access to all repository info exposed by a CMIS client binding. The runtime
 provides a default implementation for the SessionFactory interface.</li>
-<li><em>Session</em> This is the main interface an application has to work with. A
+<li><strong>Session</strong> This is the main interface an application has to work with. A
 session object is related to a CMIS service client binding and is attached
 to exact one repository. All data that is received through the session
 interface can be cached in the session object in dependency of the concrete
 implementation which is behind.</li>
-<li><em>Repository</em> Wrapper interface for the CMIS RepositoryInfo service.</li>
-<li><em>CmisObject</em> The CmisObject interface represents the CMIS domain object.</li>
-<li><em>ObjectType</em> This interface is base for all CMIS domain types like
+<li><strong>Repository</strong> Wrapper interface for the CMIS RepositoryInfo service.</li>
+<li><strong>CmisObject</strong> The CmisObject interface represents the CMIS domain object.</li>
+<li><strong>ObjectType</strong> This interface is base for all CMIS domain types like
 FolderType, DocumentType, PolicyType and RelationshipType. The derived
 interfaces are not shown in the diagram.</li>
-<li><em>Folder</em> This interface represents the CMIS folder object.</li>
-<li><em>Document</em> This interface represents the CMIS document object.</li>
-<li><em>ContentStream</em> this interface wraps the content stream of a CMIS
+<li><strong>Folder</strong> This interface represents the CMIS folder object.</li>
+<li><strong>Document</strong> This interface represents the CMIS document object.</li>
+<li><strong>ContentStream</strong> this interface wraps the content stream of a CMIS
 document.</li>
-<li><em>Policy</em> This interface represents the CMIS policy object.</li>
-<li><em>Relationship</em> This interface represents the CMIS relationship object.</li>
+<li><strong>Policy</strong> This interface represents the CMIS policy object.</li>
+<li><strong>Relationship</strong> This interface represents the CMIS relationship object.</li>
 </ul>
 <p><a name="OpenCMISClientAPI-Sessions"></a></p>
-<h1 id="sessions">Sessions</h1>
+<h2 id="sessions">Sessions</h2>
 <p>OpenCMIS' central entry point to a CMIS repository is a session. A session
 controls settings and caches that used across multiple calls and provides
 access to all CMIS operations and objects.
@@ -225,27 +251,29 @@ In order to create a session, the Sessio
 (see <a href="opencmis-session-parameters.html">OpenCMIS Session Parameters</a>
 ).</p>
 <p><a name="OpenCMISClientAPI-ExampleCode"></a></p>
-<h1 id="example_code">Example Code</h1>
+<h2 id="example_code">Example Code</h2>
 <p><a name="OpenCMISClientAPI-SessionCreation-AtomPubBinding"></a></p>
-<h2 id="session_creation_-_atompub_binding">Session Creation - AtomPub Binding</h2>
-<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Opening a Atom Pub Connection</B></DIV><DIV class="codeContent panelContent">
-    // default factory implementation of client runtime
-    SessionFactory f = SessionFactoryImpl.newInstance();
-    Map<String, String> parameter = new HashMap<String, String>();
-
-// user credentials
-    parameter.put(SessionParameter.USER, "Otto");
-    parameter.put(SessionParameter.PASSWORD, "****");
-
-<div class="codehilite"><pre><span class="sr">//</span> <span class="n">connection</span> <span class="n">settings</span>
-<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">ATOMPUB_URL</span><span class="p">,</span>
-</pre></div>
+<h3 id="session_creation_-_atompub_binding">Session Creation - AtomPub Binding</h3>
+<DIV class="code panel" style="border-style: solid;border-width: 1px;">
+<DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;">
+<B>Opening a Atom Pub Connection</B>
+</DIV>
+<DIV class="codeContent panelContent">
 
+<div class="codehilite"><pre><span class="sr">//</span> <span class="n">default</span> <span class="n">factory</span> <span class="n">implementation</span> <span class="n">of</span> <span class="n">client</span> <span class="n">runtime</span>
+<span class="n">SessionFactory</span> <span class="n">f</span> <span class="o">=</span> <span class="n">SessionFactoryImpl</span><span class="o">.</span><span class="n">newInstance</span><span class="p">();</span>
+<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameter</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span><span class="p">();</span>
+
+<span class="sr">//</span> <span class="n">user</span> <span class="n">credentials</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">USER</span><span class="p">,</span> <span class="s">&quot;Otto&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">PASSWORD</span><span class="p">,</span> <span class="s">&quot;****&quot;</span><span class="p">);</span>
+
+<span class="sr">//</span> <span class="n">connection</span> <span class="n">settings</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">ATOMPUB_URL</span><span class="p">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/atom&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BINDING_TYPE</span><span class="p">,</span> <span class="n">BindingType</span><span class="o">.</span><span class="n">ATOMPUB</span><span class="o">.</span><span class="n">value</span><span class="p">());</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">REPOSITORY_ID</span><span class="p">,</span> <span class="s">&quot;myRepository&quot;</span><span class="p">);</span>
 
-<p>"http://<host>:<port>/cmis/atom");
-    parameter.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value());
-    parameter.put(SessionParameter.REPOSITORY_ID, "myRepository");</p>
-<div class="codehilite"><pre><span class="sr">//</span> <span class="n">session</span> <span class="n">locale</span>
+<span class="sr">//</span> <span class="n">session</span> <span class="n">locale</span>
 <span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">LOCALE_ISO3166_COUNTRY</span><span class="p">,</span> <span class="s">&quot;&quot;</span><span class="p">);</span>
 <span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">LOCALE_ISO639_LANGUAGE</span><span class="p">,</span> <span class="s">&quot;de&quot;</span><span class="p">);</span>
 
@@ -254,43 +282,38 @@ In order to create a session, the Sessio
 </pre></div>
 
 
+<p></DIV>
+</DIV></p>
 <p><a name="OpenCMISClientAPI-SessionCreation-WebServicesBinding"></a></p>
-<h2 id="session_creation_-_web_services_binding">Session Creation - Web Services Binding</h2>
-<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Opening a Web Services Connection</B></DIV><DIV class="codeContent panelContent">
-    // default factory implementation of client runtime
-    SessionFactory f = SessionFactoryImpl.newInstance();
-    Map<String, String> parameter = new HashMap<String, String>();
-
-// user credentials
-    parameter.put(SessionParameter.USER, "Otto");
-    parameter.put(SessionParameter.PASSWORD, "****");
-
-<div class="codehilite"><pre><span class="sr">//</span> <span class="n">connection</span> <span class="n">settings</span>
-<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BINDING_TYPE</span><span class="p">,</span>
-</pre></div>
+<h3 id="session_creation_-_web_services_binding">Session Creation - Web Services Binding</h3>
+<DIV class="code panel" style="border-style: solid;border-width: 1px;">
+<DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;">
+<B>Opening a Web Services Connection</B>
+</DIV>
+<DIV class="codeContent panelContent">
 
+<div class="codehilite"><pre><span class="sr">//</span> <span class="n">default</span> <span class="n">factory</span> <span class="n">implementation</span> <span class="n">of</span> <span class="n">client</span> <span class="n">runtime</span>
+<span class="n">SessionFactory</span> <span class="n">f</span> <span class="o">=</span> <span class="n">SessionFactoryImpl</span><span class="o">.</span><span class="n">newInstance</span><span class="p">();</span>
+<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameter</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span><span class="p">();</span>
+
+<span class="sr">//</span> <span class="n">user</span> <span class="n">credentials</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">USER</span><span class="p">,</span> <span class="s">&quot;Otto&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">PASSWORD</span><span class="p">,</span> <span class="s">&quot;****&quot;</span><span class="p">);</span>
+
+<span class="sr">//</span> <span class="n">connection</span> <span class="n">settings</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BINDING_TYPE</span><span class="p">,</span> <span class="n">BindingType</span><span class="o">.</span><span class="n">WEBSERVICES</span><span class="o">.</span><span class="n">value</span><span class="p">());</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">REPOSITORY_ID</span><span class="p">,</span> <span class="s">&quot;myRepository&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_ACL_SERVICE</span><span class="p">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/ACLService?wsdl&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_DISCOVERY_SERVICE</span><span class="p">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/DiscoveryService?wsdl&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_MULTIFILING_SERVICE</span><span class="p">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/MultiFilingService?wsdl&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_NAVIGATION_SERVICE</span><span class="p">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/NavigationService?wsdl&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_OBJECT_SERVICE</span><span class="p">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/ObjectService?wsdl&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_POLICY_SERVICE</span><span class="p">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/PolicyService?wsdl&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_RELATIONSHIP_SERVICE</span><span class="p">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/RelationshipService?wsdl&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_REPOSITORY_SERVICE</span><span class="p">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/RepositoryService?wsdl&quot;</span><span class="p">);</span>
+<span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_VERSIONING_SERVICE</span><span class="p">,</span> <span class="s">&quot;http://&lt;host&gt;:&lt;port&gt;/cmis/services/VersioningService?wsdl&quot;</span><span class="p">);</span>
 
-<p>BindingType.WEBSERVICES.value());
-    parameter.put(SessionParameter.REPOSITORY_ID, "myRepository");
-    parameter.put(SessionParameter.WEBSERVICES_ACL_SERVICE,
-"http://<host>:<port>/cmis/services/ACLService?wsdl");
-    parameter.put(SessionParameter.WEBSERVICES_DISCOVERY_SERVICE,
-"http://<host>:<port>/cmis/services/DiscoveryService?wsdl");
-    parameter.put(SessionParameter.WEBSERVICES_MULTIFILING_SERVICE,
-"http://<host>:<port>/cmis/services/MultiFilingService?wsdl");
-    parameter.put(SessionParameter.WEBSERVICES_NAVIGATION_SERVICE,
-"http://<host>:<port>/cmis/services/NavigationService?wsdl");
-    parameter.put(SessionParameter.WEBSERVICES_OBJECT_SERVICE,
-"http://<host>:<port>/cmis/services/ObjectService?wsdl");
-    parameter.put(SessionParameter.WEBSERVICES_POLICY_SERVICE,
-"http://<host>:<port>/cmis/services/PolicyService?wsdl");
-    parameter.put(SessionParameter.WEBSERVICES_RELATIONSHIP_SERVICE,
-"http://<host>:<port>/cmis/services/RelationshipService?wsdl");
-    parameter.put(SessionParameter.WEBSERVICES_REPOSITORY_SERVICE,
-"http://<host>:<port>/cmis/services/RepositoryService?wsdl");
-    parameter.put(SessionParameter.WEBSERVICES_VERSIONING_SERVICE,
-"http://<host>:<port>/cmis/services/VersioningService?wsdl");</p>
-<div class="codehilite"><pre><span class="sr">//</span> <span class="n">session</span> <span class="n">locale</span>
+<span class="sr">//</span> <span class="n">session</span> <span class="n">locale</span>
 <span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">LOCALE_ISO3166_COUNTRY</span><span class="p">,</span> <span class="s">&quot;&quot;</span><span class="p">);</span>
 <span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">LOCALE_ISO639_LANGUAGE</span><span class="p">,</span> <span class="s">&quot;de&quot;</span><span class="p">);</span>
 <span class="n">parameter</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">LOCALE_VARIANT</span><span class="p">,</span> <span class="s">&quot;&quot;</span><span class="p">);</span>
@@ -300,48 +323,76 @@ In order to create a session, the Sessio
 </pre></div>
 
 
+<p></DIV>
+</DIV></p>
 <p><a name="OpenCMISClientAPI-ReadingObjects-RootCollection"></a></p>
-<h2 id="reading_objects_-_root_collection">Reading Objects - Root Collection</h2>
-<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Reading the Root Collection</B></DIV><DIV class="codeContent panelContent">
-    Folder root = this.session.getRootFolder();
+<h3 id="reading_objects_-_root_collection">Reading Objects - Root Collection</h3>
+<DIV class="code panel" style="border-style: solid;border-width: 1px;">
+<DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;">
+<B>Reading the Root Collection</B>
+</DIV>
+<DIV class="codeContent panelContent">
+
+<div class="codehilite"><pre><span class="n">Folder</span> <span class="n">root</span> <span class="o">=</span> <span class="n">this</span><span class="o">.</span><span class="n">session</span><span class="o">.</span><span class="n">getRootFolder</span><span class="p">();</span>
 
-ItemIterable<CmisObject> pl = root.getChildren();
+<span class="n">ItemIterable</span><span class="sr">&lt;CmisObject&gt;</span> <span class="n">pl</span> <span class="o">=</span> <span class="n">root</span><span class="o">.</span><span class="n">getChildren</span><span class="p">();</span>
 
-<div class="codehilite"><pre><span class="k">for</span> <span class="p">(</span><span class="n">CmisObject</span> <span class="n">o</span> <span class="p">:</span> <span class="n">pl</span><span class="p">)</span> <span class="p">{</span>
+<span class="k">for</span> <span class="p">(</span><span class="n">CmisObject</span> <span class="n">o</span> <span class="p">:</span> <span class="n">pl</span><span class="p">)</span> <span class="p">{</span>
   <span class="n">System</span><span class="o">.</span><span class="n">out</span><span class="o">.</span><span class="n">println</span><span class="p">(</span><span class="n">o</span><span class="o">.</span><span class="n">getName</span><span class="p">());</span>
 <span class="p">}</span>
 </pre></div>
 
 
+<p></DIV>
+</DIV></p>
 <p><a name="OpenCMISClientAPI-ReadingProperties-SingleProperty"></a></p>
-<h2 id="reading_properties_-_single_property">Reading Properties - Single Property</h2>
-<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Reading a Single Property</B></DIV><DIV class="codeContent panelContent">
-    ObjectId id = this.session.createObjectId("4711");
-    Document document = (Document) this.session.getObject(id);
-    Property<String> p = document.getProperty(PropertyIds.OBJECT_ID);
+<h3 id="reading_properties_-_single_property">Reading Properties - Single Property</h3>
+<DIV class="code panel" style="border-style: solid;border-width: 1px;">
+<DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;">
+<B>Reading a Single Property</B>
+</DIV>
+<DIV class="codeContent panelContent">
+
+<div class="codehilite"><pre><span class="n">ObjectId</span> <span class="n">id</span> <span class="o">=</span> <span class="n">this</span><span class="o">.</span><span class="n">session</span><span class="o">.</span><span class="n">createObjectId</span><span class="p">(</span><span class="s">&quot;4711&quot;</span><span class="p">);</span>
+<span class="n">Document</span> <span class="n">document</span> <span class="o">=</span> <span class="p">(</span><span class="n">Document</span><span class="p">)</span> <span class="n">this</span><span class="o">.</span><span class="n">session</span><span class="o">.</span><span class="n">getObject</span><span class="p">(</span><span class="n">id</span><span class="p">);</span>
+<span class="n">Property</span><span class="sr">&lt;String&gt;</span> <span class="n">p</span> <span class="o">=</span> <span class="n">document</span><span class="o">.</span><span class="n">getProperty</span><span class="p">(</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">OBJECT_ID</span><span class="p">);</span>
+
+<span class="n">String</span> <span class="n">s</span> <span class="o">=</span> <span class="n">p</span><span class="o">.</span><span class="n">getValue</span><span class="p">();</span>
+</pre></div>
 
-String s = p.getValue();
 
+<p></DIV>
+</DIV></p>
 <p><a name="OpenCMISClientAPI-ReadingProperties-AllProperties"></a></p>
-<h2 id="reading_properties_-_all_properties">Reading Properties - All Properties</h2>
-<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><B>Reading all Properties</B></DIV><DIV class="codeContent panelContent">
-    ObjectId id = this.session.createObjectId("4711");
-    Document document = (Document) this.session.getObject(id);
-    List<Property<?>> l = document.getProperties();
-    Iterator<Property<?>> i = l.iterator();
-    while (i.hasNext()) {
-      Property<?> p = i.next();
-      Object value = p.getValue();
-      PropertyType t = p.getType();
-
-switch (t) {
-        case INTEGER:
-          Integer n = (Integer) value;
-          System.out.println(p.getName() + " = " + n);
-          break;
-        case STRING:
-     [...]
-    }</div>
+<h3 id="reading_properties_-_all_properties">Reading Properties - All Properties</h3>
+<DIV class="code panel" style="border-style: solid;border-width: 1px;">
+<DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;">
+<B>Reading all Properties</B>
+</DIV>
+<DIV class="codeContent panelContent">
+
+<div class="codehilite"><pre><span class="x">ObjectId id = this.session.createObjectId(&quot;4711&quot;);</span>
+<span class="x">Document document = (Document) this.session.getObject(id);</span>
+<span class="x">List&lt;Property</span><span class="cp">&lt;?</span><span class="o">&gt;&gt;</span> <span class="nx">l</span> <span class="o">=</span> <span class="nx">document</span><span class="o">.</span><span class="nx">getProperties</span><span class="p">();</span>
+<span class="nx">Iterator</span><span class="o">&lt;</span><span class="nx">Property</span><span class="o">&lt;?&gt;&gt;</span> <span class="nx">i</span> <span class="o">=</span> <span class="nx">l</span><span class="o">.</span><span class="nx">iterator</span><span class="p">();</span>
+<span class="k">while</span> <span class="p">(</span><span class="nx">i</span><span class="o">.</span><span class="nx">hasNext</span><span class="p">())</span> <span class="p">{</span>
+  <span class="nx">Property</span><span class="o">&lt;?&gt;</span> <span class="nx">p</span> <span class="o">=</span> <span class="nx">i</span><span class="o">.</span><span class="nb">next</span><span class="p">();</span>
+  <span class="nx">Object</span> <span class="nx">value</span> <span class="o">=</span> <span class="nx">p</span><span class="o">.</span><span class="nx">getValue</span><span class="p">();</span>
+  <span class="nx">PropertyType</span> <span class="nx">t</span> <span class="o">=</span> <span class="nx">p</span><span class="o">.</span><span class="nx">getType</span><span class="p">();</span>
+
+  <span class="k">switch</span> <span class="p">(</span><span class="nx">t</span><span class="p">)</span> <span class="p">{</span>
+    <span class="k">case</span> <span class="nx">INTEGER</span><span class="o">:</span>
+      <span class="nx">Integer</span> <span class="nx">n</span> <span class="o">=</span> <span class="p">(</span><span class="nx">Integer</span><span class="p">)</span> <span class="nx">value</span><span class="p">;</span>
+      <span class="nx">System</span><span class="o">.</span><span class="nx">out</span><span class="o">.</span><span class="nx">println</span><span class="p">(</span><span class="nx">p</span><span class="o">.</span><span class="nx">getName</span><span class="p">()</span> <span class="o">+</span> <span class="s2">&quot; = &quot;</span> <span class="o">+</span> <span class="nx">n</span><span class="p">);</span>
+      <span class="k">break</span><span class="p">;</span>
+    <span class="k">case</span> <span class="nx">STRING</span><span class="o">:</span>
+ <span class="p">[</span><span class="o">...</span><span class="p">]</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p></DIV>
+</DIV></p></div>
              <!-- Content -->
            </td>
           </tr>
@@ -350,6 +401,11 @@ switch (t) {
      <td id="cell-2-2">&nbsp;</td>
     </tr>
     <tr width="100%">
+      <td id="cell-3-0">&nbsp;</td>
+      <td id="cell-3-1">&nbsp;</td>
+      <td id="cell-3-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
      <td id="cell-3-0">&nbsp;</td>
      <td id="cell-3-1">
        <div id="footer">
@@ -358,7 +414,8 @@ switch (t) {
           
           Apache Chemistry, Apache, the Apache feather logo, and the Apache 
           Chemistry project logo are trademarks of The Apache Software 
-          Foundation.<br /><br />
+          Foundation.
+          <BR />
           Content Management Interoperability Services (CMIS) is an
           <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
           specification.

Modified: websites/production/chemistry/content/opencmis-client-bindings.html
==============================================================================
--- websites/production/chemistry/content/opencmis-client-bindings.html (original)
+++ websites/production/chemistry/content/opencmis-client-bindings.html Tue Feb 22 09:11:32 2011
@@ -15,13 +15,14 @@
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
+
 -->
 <html>
   <head>
-    <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/chemistry/resources/site.css"></link>
-    <script src="http://incubator.apache.org/chemistry/resources/space.js" type="text/javascript"></script>
+    <link type="text/css" rel="stylesheet" href="/resources/site.css"></link>
+    <script src="/resources/space.js" type="text/javascript"></script>
     <meta name="keywords" content="CMIS, Content Management Interoperability Service, ECM, Enterprise Content Management, OASIS, integration standards, Chemistry, OpenCMIS"/>
-    <meta name="description" content"Apache Chemistry, CMIS Implementation" />
+    <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <title>
 Apache Chemistry - OpenCMIS Client Bindings
     </title>
@@ -42,9 +43,14 @@ Apache Chemistry - OpenCMIS Client Bindi
 <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
 <TR>
 <TD align="left" class="topbardiv" nowrap="">
-<A href="http://incubator.apache.org/chemistry" title="Apache Chemistry">
-<IMG border="0" src="http://incubator.apache.org/chemistry/images/chemistry_logo_small.png"/>
-</A>
+  <A href="http://chemistry.apache.org/" title="Apache Chemistry">
+    <IMG border="0" src="/images/chemistry_tm_logo_small.png"/>
+  </A>
+</TD>
+<TD align="right" nowrap="">
+  <A href="http://www.apache.org/" title="The Apache Software Foundation">
+    <IMG border="0" src="/images/asf-logo.png"/>
+  </A>
 </TD>
 </TR>
 </TABLE>
@@ -64,7 +70,13 @@ Apache Chemistry - OpenCMIS Client Bindi
               <td>
                 <div align="right">
                 <!-- Quicklinks -->
-<P><A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A> <A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A> <A href="sitemap.html" title="SiteMap">Site Map</A></P>
+<P>
+<A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A>
+|
+<A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A>
+|
+<A href="sitemap.html" title="SiteMap">Site Map</A>
+</P>
                 <!-- Quicklinks -->
                 </div>
               </td>
@@ -172,22 +184,21 @@ clunky interface. The <a href="opencmis-
  sits on top of the provider layer and exposes a nicer and simpler to use
 interface. It is the better choice for most applications.</p>
 <p>A connection to a CMIS repository is represented by a <a href="http://incubator.apache.org/chemistry/javadoc/org/apache/chemistry/opencmis/commons/spi/CmisBinding.html"><em>CmisBinding</em></a>
- object. Such an object can be created by the [<em>CmisBindingFactory</em>|http://incubator.apache.org/chemistry/javadoc/org/apache/chemistry/opencmis/client/bindings/CmisBindingFactory.html]
-. The factory provides three main methods, one for each binding and third
+ object. Such an object can be created by the <a href="http://incubator.apache.org/chemistry/javadoc/org/apache/chemistry/opencmis/client/bindings/CmisBindingFactory.html"><code>CmisBindingFactory</code></a>.
+The factory provides three main methods, one for each binding and third
 one for a local connection (same JVM), that require binding specific
-connection information. The created <em>CmisBinding</em> object exposes a
+connection information. The created <code>CmisBinding</code> object exposes a
 binding agnostic interface.</p>
-<p><em>CmisBinding</em> is the entry point to the CMIS services and a few utility
+<p><code>CmisBinding</code> is the entry point to the CMIS services and a few utility
 operations. It contains a transparent cache for repository infos and type
 definitions. The object is serializable, although dehydrating can be
-expensive. <em>CmisBinding</em> is thread-safe.</p>
-<p>The <em>get</em>Service()<em> methods provide access to the CMIS services. Some
+expensive. <code>CmisBinding</code> is thread-safe.</p>
+<p>The get*Service() methods provide access to the CMIS services. Some
 service operations take provider layer specific objects. These objects
-should be created with the <a href="http://incubator.apache.org/chemistry/javadoc/org/apache/chemistry/opencmis/commons/spi/BindingsObjectFactory.html"><em>BindingsObjectFactory</em></a>
-. This factory can be obtained through the </em>getObjectFactory()<em> method of
-the </em>CmisBinding* object.</p>
+should be created with the <a href="http://incubator.apache.org/chemistry/javadoc/org/apache/chemistry/opencmis/commons/spi/BindingsObjectFactory.html"><code>BindingsObjectFactory</code></a>.
+This factory can be obtained through the <code>getObjectFactory()</code> method of the <code>CmisBinding</code> object.</p>
 <p>Please refer to the OpenCMIS Commons <a href="http://incubator.apache.org/chemistry/javadoc/">JavaDoc</a>
- and OpenCMIS Client Binding [JavaDoc|http://incubator.apache.org/chemistry/javadoc/]
+ and OpenCMIS Client Binding <a href="http://incubator.apache.org/chemistry/javadoc/">JavaDoc</a>
  for more details on the interfaces.</p>
 <p><a name="OpenCMISClientBindings-SampleCode"></a></p>
 <h2 id="sample_code">Sample Code</h2>
@@ -196,49 +207,38 @@ the </em>CmisBinding* object.</p>
 <p>The AtomPub binding requires the URL of the CMIS service document. HTTP
 basic authentication is enabled by default and a username and a password
 have to be provided.</p>
-<p>{code:java}
-Map<String, String> parameters = new HashMap<String, String>();</p>
-<p>parameters.put(SessionParameter.USER, user);
-parameters.put(SessionParameter.PASSWORD, password);</p>
-<p>parameters.put(SessionParameter.ATOMPUB_URL, url); // service document URL</p>
-<p>CmisBindingFactory factory = CmisBindingFactory.newInstance();
-CmisBinding binding = factory.createCmisAtomPubBinding(parameters);</p>
-<div class="codehilite"><pre><span class="n">h3</span><span class="o">.</span> <span class="n">Creating</span> <span class="n">a</span> <span class="n">Web</span> <span class="n">Services</span> <span class="n">binding</span> <span class="n">instance</span>
+<div class="codehilite"><pre><span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span><span class="p">();</span>
+
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">USER</span><span class="p">,</span> <span class="n">user</span><span class="p">);</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">PASSWORD</span><span class="p">,</span> <span class="n">password</span><span class="p">);</span>
+
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">ATOMPUB_URL</span><span class="p">,</span> <span class="n">url</span><span class="p">);</span> <span class="sr">//</span> <span class="n">service</span> <span class="n">document</span> <span class="n">URL</span>
 
-<span class="n">The</span> <span class="n">Web</span> <span class="n">Services</span> <span class="n">binding</span> <span class="n">requires</span> <span class="n">a</span> <span class="n">WSDL</span> <span class="n">URL</span> <span class="k">for</span> <span class="nb">each</span> <span class="n">CMIS</span> <span class="n">service</span><span class="o">.</span> <span class="n">This</span>
+<span class="n">CmisBindingFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">CmisBindingFactory</span><span class="o">.</span><span class="n">newInstance</span><span class="p">();</span>
+<span class="n">CmisBinding</span> <span class="n">binding</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">createCmisAtomPubBinding</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
 </pre></div>
 
 
-<p>might the same the URL for all services. WS-Security (UsernameToken) is
+<h3 id="creating_a_web_services_binding_instance">Creating a Web Services binding instance</h3>
+<p>The Web Services binding requires a WSDL URL for each CMIS service. This
+might the same the URL for all services. WS-Security (UsernameToken) is
 enabled by default and a username and a password have to be provided.</p>
-<div class="codehilite"><pre><span class="p">{</span><span class="n">code:java</span><span class="p">}</span>
-<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span><span class="p">();</span>
+<div class="codehilite"><pre><span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span><span class="p">();</span>
 
 <span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">USER</span><span class="p">,</span> <span class="n">username</span><span class="p">);</span>
 <span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">PASSWORD</span><span class="p">,</span> <span class="n">password</span><span class="p">);</span>
 
-<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_REPOSITORY_SERVICE</span><span class="p">,</span>
-</pre></div>
-
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_REPOSITORY_SERVICE</span><span class="p">,</span> <span class="n">repositoryServiceWsdlUrl</span><span class="p">);</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_NAVIGATION_SERVICE</span><span class="p">,</span> <span class="n">navigationServiceWsdlUrl</span><span class="p">);</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_OBJECT_SERVICE</span><span class="p">,</span> <span class="n">objectServiceWsdlUrl</span><span class="p">);</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_VERSIONING_SERVICE</span><span class="p">,</span> <span class="n">versioningServiceWsdlUrl</span><span class="p">);</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_DISCOVERY_SERVICE</span><span class="p">,</span> <span class="n">discoveryServiceWsdlUrl</span><span class="p">);</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_RELATIONSHIP_SERVICE</span><span class="p">,</span> <span class="n">relationshipServiceWsdlUrl</span><span class="p">);</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_MULTIFILING_SERVICE</span><span class="p">,</span> <span class="n">multiFilingServiceWsdlUrl</span><span class="p">);</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_POLICY_SERVICE</span><span class="p">,</span> <span class="n">policyServiceWsdlUrl</span><span class="p">);</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">WEBSERVICES_ACL_SERVICE</span><span class="p">,</span> <span class="n">aclServiceWsdlUrl</span><span class="p">);</span>
 
-<p>repositoryServiceWsdlUrl);
-    parameters.put(SessionParameter.WEBSERVICES_NAVIGATION_SERVICE,
-navigationServiceWsdlUrl);
-    parameters.put(SessionParameter.WEBSERVICES_OBJECT_SERVICE,
-objectServiceWsdlUrl);
-    parameters.put(SessionParameter.WEBSERVICES_VERSIONING_SERVICE,
-versioningServiceWsdlUrl);
-    parameters.put(SessionParameter.WEBSERVICES_DISCOVERY_SERVICE,
-discoveryServiceWsdlUrl);
-    parameters.put(SessionParameter.WEBSERVICES_RELATIONSHIP_SERVICE,
-relationshipServiceWsdlUrl);
-    parameters.put(SessionParameter.WEBSERVICES_MULTIFILING_SERVICE,
-multiFilingServiceWsdlUrl);
-    parameters.put(SessionParameter.WEBSERVICES_POLICY_SERVICE,
-policyServiceWsdlUrl);
-    parameters.put(SessionParameter.WEBSERVICES_ACL_SERVICE,
-aclServiceWsdlUrl);</p>
-<div class="codehilite"><pre><span class="n">CmisBindingFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">CmisBindingFactory</span><span class="o">.</span><span class="n">newInstance</span><span class="p">();</span>
+<span class="n">CmisBindingFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">CmisBindingFactory</span><span class="o">.</span><span class="n">newInstance</span><span class="p">();</span>
 <span class="n">CmisBinding</span> <span class="n">binding</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">createCmisWebServicesBinding</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
 </pre></div>
 
@@ -247,37 +247,33 @@ aclServiceWsdlUrl);</p>
 <h3 id="creating_a_local_binding_instance">Creating a Local binding instance</h3>
 <p>The Local binding connects to an OpenCMIS server in the same JVM. The
 server factory class name has to be supplied.</p>
-<p>{code:java}
-Map<String, String> parameters = new HashMap<String, String>();</p>
-<p>parameters.put(SessionParameter.USER, user);
-parameters.put(SessionParameter.PASSWORD, password);</p>
-<p>parameters.put(SessionParameter.LOCAL_FACTORY, factoryClassName);</p>
-<p>CmisBindingFactory factory = CmisBindingFactory.newInstance();
-CmisBinding binding = factory.createCmisLocalBinding(parameters);</p>
-<div class="codehilite"><pre><span class="n">h3</span><span class="o">.</span> <span class="n">Getting</span> <span class="n">an</span> <span class="n">Object</span>
+<div class="codehilite"><pre><span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span><span class="p">();</span>
+
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">USER</span><span class="p">,</span> <span class="n">user</span><span class="p">);</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">PASSWORD</span><span class="p">,</span> <span class="n">password</span><span class="p">);</span>
 
-<span class="n">The</span> <span class="n">following</span> <span class="n">snippet</span> <span class="n">gets</span> <span class="n">the</span> <span class="n">name</span> <span class="n">of</span> <span class="n">the</span> <span class="n">object</span> <span class="s">&quot;myObject&quot;</span> <span class="n">in</span> <span class="n">repository</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">LOCAL_FACTORY</span><span class="p">,</span> <span class="n">factoryClassName</span><span class="p">);</span>
+
+<span class="n">CmisBindingFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">CmisBindingFactory</span><span class="o">.</span><span class="n">newInstance</span><span class="p">();</span>
+<span class="n">CmisBinding</span> <span class="n">binding</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">createCmisLocalBinding</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
 </pre></div>
 
 
-<p>"myRepository". The parameters of getObject() can be found in the CMIS
+<h3 id="getting_an_object">Getting an Object</h3>
+<p>The following snippet gets the name of the object "myObject" in repository
+"myRepository". The parameters of <code>getObject()</code> can be found in the CMIS
 specification.</p>
-<div class="codehilite"><pre><span class="p">{</span><span class="n">code:java</span><span class="p">}</span>
-<span class="n">CmisBinding</span> <span class="n">binding</span> <span class="o">=</span> <span class="o">...</span>
-
-<span class="n">ObjectData</span> <span class="n">myObject</span> <span class="o">=</span> <span class="n">binding</span><span class="o">.</span><span class="n">getObjectService</span><span class="p">()</span><span class="o">.</span><span class="n">getObject</span><span class="p">(</span><span class="s">&quot;myRepository&quot;</span><span class="p">,</span>
-</pre></div>
+<div class="codehilite"><pre><span class="n">CmisBinding</span> <span class="n">binding</span> <span class="o">=</span> <span class="o">...</span>
 
+<span class="n">ObjectData</span> <span class="n">myObject</span> <span class="o">=</span> <span class="n">binding</span><span class="o">.</span><span class="n">getObjectService</span><span class="p">()</span><span class="o">.</span><span class="n">getObject</span><span class="p">(</span><span class="s">&quot;myRepository&quot;</span><span class="p">,</span> <span class="s">&quot;myObject&quot;</span><span class="p">,</span>
+   <span class="s">&quot;*&quot;</span><span class="p">,</span> <span class="n">true</span><span class="p">,</span> <span class="n">IncludeRelationships</span><span class="o">.</span><span class="n">BOTH</span><span class="p">,</span> <span class="s">&quot;cmis:none&quot;</span><span class="p">,</span> <span class="n">true</span><span class="p">,</span> <span class="n">true</span><span class="p">,</span> <span class="n">null</span><span class="p">);</span>
 
-<p>"myObject",
-       "*", true, IncludeRelationships.BOTH, "cmis:none", true, true, null);</p>
-<div class="codehilite"><pre><span class="n">PropertiesData</span> <span class="n">properties</span> <span class="o">=</span> <span class="n">myObject</span><span class="o">.</span><span class="n">getProperties</span><span class="p">();</span>
-<span class="n">PropertyData</span><span class="sr">&lt;String&gt;</span> <span class="n">nameProperty</span> <span class="o">=</span>
+<span class="n">PropertiesData</span> <span class="n">properties</span> <span class="o">=</span> <span class="n">myObject</span><span class="o">.</span><span class="n">getProperties</span><span class="p">();</span>
+<span class="n">PropertyData</span><span class="sr">&lt;String&gt;</span> <span class="n">nameProperty</span> <span class="o">=</span> <span class="n">properties</span><span class="o">.</span><span class="n">getProperties</span><span class="p">()</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">NAME</span><span class="p">);</span>
+<span class="n">String</span> <span class="n">name</span> <span class="o">=</span> <span class="n">nameProperty</span><span class="o">.</span><span class="n">getFirstValue</span><span class="p">();</span>
 </pre></div>
 
 
-<p>properties.getProperties().get(PropertyIds.NAME);
-    String name = nameProperty.getFirstValue();</p>
 <p><a name="OpenCMISClientBindings-CustomAuthenticationProvider"></a></p>
 <h2 id="custom_authentication_provider">Custom Authentication Provider</h2>
 <p>OpenCMIS supports HTTP basic authentication for the AtomPub binding and
@@ -285,22 +281,23 @@ WS-Security (UsernameToken) for the Web 
 Other authentication methods can be added by implementing a custom
 authentication provider.</p>
 <p>Such a provider must extend
-<em>org.apache.chemistry.opencmis.client.provider.spi.AbstractAuthenticationProvider</em>
-and overwrite the methods <em>getHTTPHeaders</em> and <em>getSOAPHeaders</em>. See
+<code>org.apache.chemistry.opencmis.client.provider.spi.AbstractAuthenticationProvider</code>
+and overwrite the methods <code>getHTTPHeaders</code> and <code>getSOAPHeaders</code>. See
 JavaDoc for details.</p>
-<p>The session parameter <em>SessionParameter.AUTHENTICATION_PROVIDER_CLASS</em>
+<p>The session parameter <code>SessionParameter.AUTHENTICATION_PROVIDER_CLASS</code>
 must be set to the fully qualified class name in order to active the
 authentication provider before the session is created.</p>
-<p>{code:java}
-Map<String, String> parameters = new HashMap<String, String>();</p>
-<p>parameters.put(SessionParameter.AUTHENTICATION_PROVIDER_CLASS,
-"org.example.opencmis.MyAuthenticationProvider");
-parameters.put("org.example.opencmis.user", "cmisuser"); //
-MyAuthenticationProvider can get and evaluate this
-parameters.put("org.example.opencmis.secret", "b3BlbmNtaXMgdXNlcg==");</p>
-<p>parameters.put(SessionParameter.ATOMPUB_URL, url); // service document URL</p>
-<p>CmisBindingFactory factory = CmisBindingFactory.newInstance();
-CmisBinding provider = factory.createCmisAtomPubBinding(parameters);</p></div>
+<div class="codehilite"><pre><span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">String</span><span class="o">&gt;</span><span class="p">();</span>
+
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">AUTHENTICATION_PROVIDER_CLASS</span><span class="p">,</span> <span class="s">&quot;org.example.opencmis.MyAuthenticationProvider&quot;</span><span class="p">);</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;org.example.opencmis.user&quot;</span><span class="p">,</span> <span class="s">&quot;cmisuser&quot;</span><span class="p">);</span> <span class="sr">//</span> <span class="n">MyAuthenticationProvider</span> <span class="n">can</span> <span class="n">get</span> <span class="ow">and</span> <span class="n">evaluate</span> <span class="n">this</span>
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;org.example.opencmis.secret&quot;</span><span class="p">,</span> <span class="s">&quot;b3BlbmNtaXMgdXNlcg==&quot;</span><span class="p">);</span>
+
+<span class="n">parameters</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">ATOMPUB_URL</span><span class="p">,</span> <span class="n">url</span><span class="p">);</span> <span class="sr">//</span> <span class="n">service</span> <span class="n">document</span> <span class="n">URL</span>
+
+<span class="n">CmisBindingFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">CmisBindingFactory</span><span class="o">.</span><span class="n">newInstance</span><span class="p">();</span>
+<span class="n">CmisBinding</span> <span class="n">provider</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">createCmisAtomPubBinding</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
+</pre></div></div>
              <!-- Content -->
            </td>
           </tr>
@@ -309,6 +306,11 @@ CmisBinding provider = factory.createCmi
      <td id="cell-2-2">&nbsp;</td>
     </tr>
     <tr width="100%">
+      <td id="cell-3-0">&nbsp;</td>
+      <td id="cell-3-1">&nbsp;</td>
+      <td id="cell-3-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
      <td id="cell-3-0">&nbsp;</td>
      <td id="cell-3-1">
        <div id="footer">
@@ -317,7 +319,8 @@ CmisBinding provider = factory.createCmi
           
           Apache Chemistry, Apache, the Apache feather logo, and the Apache 
           Chemistry project logo are trademarks of The Apache Software 
-          Foundation.<br /><br />
+          Foundation.
+          <BR />
           Content Management Interoperability Services (CMIS) is an
           <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
           specification.

Modified: websites/production/chemistry/content/opencmis-cookbook.html
==============================================================================
--- websites/production/chemistry/content/opencmis-cookbook.html (original)
+++ websites/production/chemistry/content/opencmis-cookbook.html Tue Feb 22 09:11:32 2011
@@ -15,13 +15,14 @@
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
+
 -->
 <html>
   <head>
-    <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/chemistry/resources/site.css"></link>
-    <script src="http://incubator.apache.org/chemistry/resources/space.js" type="text/javascript"></script>
+    <link type="text/css" rel="stylesheet" href="/resources/site.css"></link>
+    <script src="/resources/space.js" type="text/javascript"></script>
     <meta name="keywords" content="CMIS, Content Management Interoperability Service, ECM, Enterprise Content Management, OASIS, integration standards, Chemistry, OpenCMIS"/>
-    <meta name="description" content"Apache Chemistry, CMIS Implementation" />
+    <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <title>
 Apache Chemistry - OpenCMIS Cookbook
     </title>
@@ -42,9 +43,14 @@ Apache Chemistry - OpenCMIS Cookbook
 <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
 <TR>
 <TD align="left" class="topbardiv" nowrap="">
-<A href="http://incubator.apache.org/chemistry" title="Apache Chemistry">
-<IMG border="0" src="http://incubator.apache.org/chemistry/images/chemistry_logo_small.png"/>
-</A>
+  <A href="http://chemistry.apache.org/" title="Apache Chemistry">
+    <IMG border="0" src="/images/chemistry_tm_logo_small.png"/>
+  </A>
+</TD>
+<TD align="right" nowrap="">
+  <A href="http://www.apache.org/" title="The Apache Software Foundation">
+    <IMG border="0" src="/images/asf-logo.png"/>
+  </A>
 </TD>
 </TR>
 </TABLE>
@@ -64,7 +70,13 @@ Apache Chemistry - OpenCMIS Cookbook
               <td>
                 <div align="right">
                 <!-- Quicklinks -->
-<P><A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A> <A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A> <A href="sitemap.html" title="SiteMap">Site Map</A></P>
+<P>
+<A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A>
+|
+<A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A>
+|
+<A href="sitemap.html" title="SiteMap">Site Map</A>
+</P>
                 <!-- Quicklinks -->
                 </div>
               </td>
@@ -870,6 +882,11 @@ factory);
      <td id="cell-2-2">&nbsp;</td>
     </tr>
     <tr width="100%">
+      <td id="cell-3-0">&nbsp;</td>
+      <td id="cell-3-1">&nbsp;</td>
+      <td id="cell-3-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
      <td id="cell-3-0">&nbsp;</td>
      <td id="cell-3-1">
        <div id="footer">
@@ -878,7 +895,8 @@ factory);
           
           Apache Chemistry, Apache, the Apache feather logo, and the Apache 
           Chemistry project logo are trademarks of The Apache Software 
-          Foundation.<br /><br />
+          Foundation.
+          <BR />
           Content Management Interoperability Services (CMIS) is an
           <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
           specification.

Modified: websites/production/chemistry/content/opencmis-fileshare-repository.html
==============================================================================
--- websites/production/chemistry/content/opencmis-fileshare-repository.html (original)
+++ websites/production/chemistry/content/opencmis-fileshare-repository.html Tue Feb 22 09:11:32 2011
@@ -15,13 +15,14 @@
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
+
 -->
 <html>
   <head>
-    <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/chemistry/resources/site.css"></link>
-    <script src="http://incubator.apache.org/chemistry/resources/space.js" type="text/javascript"></script>
+    <link type="text/css" rel="stylesheet" href="/resources/site.css"></link>
+    <script src="/resources/space.js" type="text/javascript"></script>
     <meta name="keywords" content="CMIS, Content Management Interoperability Service, ECM, Enterprise Content Management, OASIS, integration standards, Chemistry, OpenCMIS"/>
-    <meta name="description" content"Apache Chemistry, CMIS Implementation" />
+    <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <title>
 Apache Chemistry - OpenCMIS FileShare Repository
     </title>
@@ -42,9 +43,14 @@ Apache Chemistry - OpenCMIS FileShare Re
 <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
 <TR>
 <TD align="left" class="topbardiv" nowrap="">
-<A href="http://incubator.apache.org/chemistry" title="Apache Chemistry">
-<IMG border="0" src="http://incubator.apache.org/chemistry/images/chemistry_logo_small.png"/>
-</A>
+  <A href="http://chemistry.apache.org/" title="Apache Chemistry">
+    <IMG border="0" src="/images/chemistry_tm_logo_small.png"/>
+  </A>
+</TD>
+<TD align="right" nowrap="">
+  <A href="http://www.apache.org/" title="The Apache Software Foundation">
+    <IMG border="0" src="/images/asf-logo.png"/>
+  </A>
 </TD>
 </TR>
 </TABLE>
@@ -64,7 +70,13 @@ Apache Chemistry - OpenCMIS FileShare Re
               <td>
                 <div align="right">
                 <!-- Quicklinks -->
-<P><A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A> <A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A> <A href="sitemap.html" title="SiteMap">Site Map</A></P>
+<P>
+<A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A>
+|
+<A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A>
+|
+<A href="sitemap.html" title="SiteMap">Site Map</A>
+</P>
                 <!-- Quicklinks -->
                 </div>
               </td>
@@ -162,7 +174,7 @@ Apache Chemistry - OpenCMIS FileShare Re
              <!-- Content -->
              <div class="wiki-content"><p><a name="OpenCMISFileShareRepository-OpenCMISFileShareRepository"></a></p>
 <h1 id="opencmis_fileshare_repository">OpenCMIS FileShare Repository</h1>
-<p><em>This repository is not intended for production use!</em></p>
+<p><strong>This repository is not intended for production use!</strong></p>
 <p>The FileShare repository uses the file system as its back-end store and
 provides read/write access to content and metadata. In other words, it puts
 a CMIS interface on top of your file system.</p>
@@ -175,19 +187,16 @@ password "test" is pre-configured.</p>
 <p><a name="OpenCMISFileShareRepository-BuildandDeploytheTestRepository"></a></p>
 <h2 id="build_and_deploy_the_test_repository">Build and Deploy the Test Repository</h2>
 <ol>
-<li><a href="opencmis-how-to-build.html">Build OpenCMIS</a>
-.</li>
-<li>A ready-to-use WAR file should now exist in
-<em>/chemistry-opencmis-server/chemistry-opencmis-server-fileshare/target</em>.</li>
+<li><a href="opencmis-how-to-build.html">Build OpenCMIS</a>.</li>
+<li>A ready-to-use WAR file should now exist in <code>/chemistry-opencmis-server/chemistry-opencmis-server-fileshare/target</code>.</li>
 <li>Deploy the WAR file to your favorite servlet engine.</li>
-<li>AtomPub endpoint: <em>http://<host>:<port>/<context>/atom</em>
-  Web Services endpoint:
-<em>http://<host>:<port>/<context>/services/RepositoryService</em></li>
+<li>AtomPub endpoint: <code>http://&lt;host&gt;:&lt;port&gt;/&lt;context&gt;/atom</code> <br/>
+   Web Services endpoint: <code>http://&lt;host&gt;:&lt;port&gt;/&lt;context&gt;/services/RepositoryService</code></li>
 </ol>
 <p><a name="OpenCMISFileShareRepository-ConfiguretheRepository"></a></p>
 <h2 id="configure_the_repository">Configure the Repository</h2>
 <p>The configuration file in the WAR file is
-<em>/WEB-INF/classes/repository.properties</em>.</p>
+<code>/WEB-INF/classes/repository.properties</code>.</p>
 <div class="codehilite"><pre><span class="c1"># Don&#39;t touch this line</span>
 <span class="n">class</span><span class="o">=</span><span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">chemistry</span><span class="o">.</span><span class="n">opencmis</span><span class="o">.</span><span class="n">fileshare</span><span class="o">.</span><span class="n">FileShareServiceFactory</span>
 
@@ -204,16 +213,12 @@ password "test" is pre-configured.</p>
 
 <span class="c1"># Repository configuration</span>
 <span class="c1">#  repository.&lt;repositoryId&gt; = &lt;absolute path to repository root folder&gt;</span>
-<span class="c1">#  repository.&lt;repositoryId&gt;.readwrite = &lt;comma separated list of login</span>
-</pre></div>
-
-
-<p>names&gt;
-    #  repository.<repositoryId>.readonly = <comma separated list of login
-names>
-    repository.test = /home/cmistest/myreproot 
-    repository.test.readwrite = test, cmisuser
-    repository.test.readonly = reader</p></div>
+<span class="c1">#  repository.&lt;repositoryId&gt;.readwrite = &lt;comma separated list of login names&gt;</span>
+<span class="c1">#  repository.&lt;repositoryId&gt;.readonly = &lt;comma separated list of login names&gt;</span>
+<span class="n">repository</span><span class="o">.</span><span class="n">test</span> <span class="o">=</span> <span class="sr">/home/cmis</span><span class="n">test</span><span class="o">/</span><span class="n">myreproot</span> 
+<span class="n">repository</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">readwrite</span> <span class="o">=</span> <span class="n">test</span><span class="p">,</span> <span class="n">cmisuser</span>
+<span class="n">repository</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">readonly</span> <span class="o">=</span> <span class="n">reader</span>
+</pre></div></div>
              <!-- Content -->
            </td>
           </tr>
@@ -222,6 +227,11 @@ names>
      <td id="cell-2-2">&nbsp;</td>
     </tr>
     <tr width="100%">
+      <td id="cell-3-0">&nbsp;</td>
+      <td id="cell-3-1">&nbsp;</td>
+      <td id="cell-3-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
      <td id="cell-3-0">&nbsp;</td>
      <td id="cell-3-1">
        <div id="footer">
@@ -230,7 +240,8 @@ names>
           
           Apache Chemistry, Apache, the Apache feather logo, and the Apache 
           Chemistry project logo are trademarks of The Apache Software 
-          Foundation.<br /><br />
+          Foundation.
+          <BR />
           Content Management Interoperability Services (CMIS) is an
           <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
           specification.

Modified: websites/production/chemistry/content/opencmis-how-to-build.html
==============================================================================
--- websites/production/chemistry/content/opencmis-how-to-build.html (original)
+++ websites/production/chemistry/content/opencmis-how-to-build.html Tue Feb 22 09:11:32 2011
@@ -15,13 +15,14 @@
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
+
 -->
 <html>
   <head>
-    <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/chemistry/resources/site.css"></link>
-    <script src="http://incubator.apache.org/chemistry/resources/space.js" type="text/javascript"></script>
+    <link type="text/css" rel="stylesheet" href="/resources/site.css"></link>
+    <script src="/resources/space.js" type="text/javascript"></script>
     <meta name="keywords" content="CMIS, Content Management Interoperability Service, ECM, Enterprise Content Management, OASIS, integration standards, Chemistry, OpenCMIS"/>
-    <meta name="description" content"Apache Chemistry, CMIS Implementation" />
+    <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <title>
 Apache Chemistry - OpenCMIS how-to-build
     </title>
@@ -42,9 +43,14 @@ Apache Chemistry - OpenCMIS how-to-build
 <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
 <TR>
 <TD align="left" class="topbardiv" nowrap="">
-<A href="http://incubator.apache.org/chemistry" title="Apache Chemistry">
-<IMG border="0" src="http://incubator.apache.org/chemistry/images/chemistry_logo_small.png"/>
-</A>
+  <A href="http://chemistry.apache.org/" title="Apache Chemistry">
+    <IMG border="0" src="/images/chemistry_tm_logo_small.png"/>
+  </A>
+</TD>
+<TD align="right" nowrap="">
+  <A href="http://www.apache.org/" title="The Apache Software Foundation">
+    <IMG border="0" src="/images/asf-logo.png"/>
+  </A>
 </TD>
 </TR>
 </TABLE>
@@ -64,7 +70,13 @@ Apache Chemistry - OpenCMIS how-to-build
               <td>
                 <div align="right">
                 <!-- Quicklinks -->
-<P><A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A> <A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A> <A href="sitemap.html" title="SiteMap">Site Map</A></P>
+<P>
+<A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A>
+|
+<A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A>
+|
+<A href="sitemap.html" title="SiteMap">Site Map</A>
+</P>
                 <!-- Quicklinks -->
                 </div>
               </td>
@@ -162,25 +174,23 @@ Apache Chemistry - OpenCMIS how-to-build
              <!-- Content -->
              <div class="wiki-content"><p><a name="OpenCMIShow-to-build-HowtobuildOpenCMIS"></a></p>
 <h1 id="how_to_build_opencmis">How to build OpenCMIS</h1>
-<p>OpenCMIS releases are available <a href="opencmis.html">here</a>
-. If you want to build the latest and greatest instead, follow these simple
-steps:</p>
-<div class="codehilite"><pre><span class="o">*</span> <span class="n">Make</span> <span class="n">sure</span> <span class="n">you</span> <span class="n">have</span> <span class="n">JDK</span> <span class="mf">1.5</span> <span class="ow">or</span> <span class="n">higher</span><span class="p">,</span> <span class="n">Maven</span> <span class="mf">2.2</span> <span class="ow">and</span> <span class="n">a</span> <span class="n">Subversion</span>
-</pre></div>
+<p>OpenCMIS releases are available <a href="opencmis.html">here</a>.
+If you want to build the latest and greatest instead, follow these simple steps:</p>
+<ul>
+<li>Make sure you have JDK 1.5 or higher, Maven 2.2 and a Subversion client installed. <br/>(The CMIS Workbench requires JDK 1.6!)</li>
+<li>Fetch the source code via Subversion from here: <a href="https://svn.apache.org/repos/asf/chemistry/opencmis/trunk">https://svn.apache.org/repos/asf/chemistry/opencmis/trunk</a></li>
+<li>And finally run:</li>
+</ul>
+&nbsp;
 
-
-<p>client installed. (The CMIS Workbench requires JDK 1.6!)
-    * Fetch the source code via Subversion from here: <a href="https://svn.apache.org/repos/asf/chemistry/opencmis/trunk">https://svn.apache.org/repos/asf/chemistry/opencmis/trunk</a>
-    * And finally run:</p>
 <div class="codehilite"><pre><span class="n">mvn</span> <span class="n">clean</span> <span class="n">install</span> <span class="o">-</span><span class="n">Dmaven</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">skip</span><span class="o">=</span><span class="n">true</span>
 </pre></div>
 
 
 <p><a name="OpenCMIShow-to-build-TheClientLibraries"></a></p>
 <h2 id="the_client_libraries">The Client Libraries</h2>
-<p>After the build the OpenCMIS client libraries (with all dependencies)
-reside in the
-<em>/chemistry-opencmis-client/chemistry-opencmis-client-impl/target</em>
+<p>After the build, the OpenCMIS client libraries (with all dependencies) reside in the
+<code>/chemistry-opencmis-client/chemistry-opencmis-client-impl/target</code>
 directory. The zip file contains all libraries necessary to build a CMIS
 client.</p>
 <p><a name="OpenCMIShow-to-build-TheServerFramework"></a></p>
@@ -189,14 +199,14 @@ client.</p>
  page for more information where to find it and how to use it.</p>
 <p><a name="OpenCMIShow-to-build-BuildJavaDoc"></a></p>
 <h2 id="build_javadoc">Build JavaDoc</h2>
-<p>There is not much OpenCMIS documentation available, yet. This Wiki and the
+<p>There is not much OpenCMIS documentation available, yet. This pages and the
 JavaDoc are the major sources for information. The JavaDoc can be build by
 running:</p>
 <div class="codehilite"><pre><span class="n">mvn</span> <span class="n">javadoc:aggregate</span>
 </pre></div>
 
 
-<p>The JavaDoc will be created in <em>/target/site/apidocs</em>.</p></div>
+<p>The JavaDoc will be created in <code>/target/site/apidocs</code>.</p></div>
              <!-- Content -->
            </td>
           </tr>
@@ -205,6 +215,11 @@ running:</p>
      <td id="cell-2-2">&nbsp;</td>
     </tr>
     <tr width="100%">
+      <td id="cell-3-0">&nbsp;</td>
+      <td id="cell-3-1">&nbsp;</td>
+      <td id="cell-3-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
      <td id="cell-3-0">&nbsp;</td>
      <td id="cell-3-1">
        <div id="footer">
@@ -213,7 +228,8 @@ running:</p>
           
           Apache Chemistry, Apache, the Apache feather logo, and the Apache 
           Chemistry project logo are trademarks of The Apache Software 
-          Foundation.<br /><br />
+          Foundation.
+          <BR />
           Content Management Interoperability Services (CMIS) is an
           <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
           specification.

Modified: websites/production/chemistry/content/opencmis-inmemory-repository.html
==============================================================================
--- websites/production/chemistry/content/opencmis-inmemory-repository.html (original)
+++ websites/production/chemistry/content/opencmis-inmemory-repository.html Tue Feb 22 09:11:32 2011
@@ -15,13 +15,14 @@
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
+
 -->
 <html>
   <head>
-    <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/chemistry/resources/site.css"></link>
-    <script src="http://incubator.apache.org/chemistry/resources/space.js" type="text/javascript"></script>
+    <link type="text/css" rel="stylesheet" href="/resources/site.css"></link>
+    <script src="/resources/space.js" type="text/javascript"></script>
     <meta name="keywords" content="CMIS, Content Management Interoperability Service, ECM, Enterprise Content Management, OASIS, integration standards, Chemistry, OpenCMIS"/>
-    <meta name="description" content"Apache Chemistry, CMIS Implementation" />
+    <meta name="description" content="Apache Chemistry, CMIS Implementation" />
     <title>
 Apache Chemistry - OpenCMIS InMemory Repository
     </title>
@@ -42,9 +43,14 @@ Apache Chemistry - OpenCMIS InMemory Rep
 <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
 <TR>
 <TD align="left" class="topbardiv" nowrap="">
-<A href="http://incubator.apache.org/chemistry" title="Apache Chemistry">
-<IMG border="0" src="http://incubator.apache.org/chemistry/images/chemistry_logo_small.png"/>
-</A>
+  <A href="http://chemistry.apache.org/" title="Apache Chemistry">
+    <IMG border="0" src="/images/chemistry_tm_logo_small.png"/>
+  </A>
+</TD>
+<TD align="right" nowrap="">
+  <A href="http://www.apache.org/" title="The Apache Software Foundation">
+    <IMG border="0" src="/images/asf-logo.png"/>
+  </A>
 </TD>
 </TR>
 </TABLE>
@@ -64,7 +70,13 @@ Apache Chemistry - OpenCMIS InMemory Rep
               <td>
                 <div align="right">
                 <!-- Quicklinks -->
-<P><A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A> <A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A> <A href="sitemap.html" title="SiteMap">Site Map</A></P>
+<P>
+<A href="http://www.apache.org/" class="external-link" rel="nofollow">Apache</A>
+|
+<A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A>
+|
+<A href="sitemap.html" title="SiteMap">Site Map</A>
+</P>
                 <!-- Quicklinks -->
                 </div>
               </td>
@@ -162,7 +174,7 @@ Apache Chemistry - OpenCMIS InMemory Rep
              <!-- Content -->
              <div class="wiki-content"><p><a name="OpenCMISInMemoryRepository-OpenCMISInMemoryRepository"></a></p>
 <h1 id="opencmis_inmemory_repository">OpenCMIS InMemory Repository</h1>
-<p>This repository is not intended for production use!</p>
+<p>This repository is <em>obviously</em> not intended for production use!</p>
 <p>The OpenCMIS In-Memory Repository is an implementation of a CMIS repository
 that holds content and metadata in memory. Therefore, all data stored in
 the repository is lost after each restart. This implementation has two main
@@ -175,16 +187,14 @@ dependencies or configuration.<br />
 </ol>
 <p><a name="OpenCMISInMemoryRepository-Status"></a></p>
 <h2 id="status">Status</h2>
-<p>The code is unstable and under development. Expect any interface to
-change at any time.
-  The following features are implemented:</p>
+<p>The code is unstable and under development. Expect any interface to change at any time.
+The following features are implemented:</p>
 <ul>
 <li>Type System and Repository Service <br />
 </li>
 <li>Navigation  <br />
 </li>
-<li>Object Service <br />
-</li>
+<li>Object Service</li>
 <li>Versioning</li>
 </ul>
 <p>Not supported are currently:</p>
@@ -205,12 +215,10 @@ change at any time.
 <h2 id="build_and_deploy_the_repository">Build and Deploy the Repository</h2>
 <ol>
 <li><a href="opencmis-how-to-build.html">How to build OpenCMIS</a></li>
-<li>A ready-to-use WAR file should now exist in
-<em>/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/target</em>.</li>
+<li>A ready-to-use WAR file should now exist in <code>/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/target</code>.</li>
 <li>Deploy the WAR file to your favorite servlet engine.</li>
-<li>AtomPub endpoint: <em>http://<host>:<port>/<context>/atom</em>
-    Web Services endpoint:
-<em>http://<host>:<port>/<context>/services/RepositoryService</em></li>
+<li>AtomPub endpoint: <code>http://&lt;host&gt;:&lt;port&gt;/&lt;context&gt;/atom</code>,<br/>
+   Web Services endpoint: <code>http://&lt;host&gt;:&lt;port&gt;/&lt;context&gt;/services/RepositoryService</code></li>
 </ol>
 <p><a name="OpenCMISInMemoryRepository-ConfiguretheRepository"></a></p>
 <h2 id="configure_the_repository">Configure the Repository</h2>
@@ -223,34 +231,31 @@ usable state. These settings include the
 definitions and an initial folder/document data set.</p>
 <p>The types to be made available must be provided in a Java class as code. By
 default, the class
-<em>org.apache.chemistry.opencmis.inmemory.types.DefaultTypeSystemCreator.java</em>
+<code>org.apache.chemistry.opencmis.inmemory.types.DefaultTypeSystemCreator.java</code>
 is provided. You can take this as an example if you want to provide your
 own custom types. Such a class must implement the
-<em>org.apache.chemistry.opencmis.inmemory.TypeCreator</em> interface which
-consists of a single method that returns a list of <em>TypeDefinition</em>
+<code>org.apache.chemistry.opencmis.inmemory.TypeCreator</code> interface which
+consists of a single method that returns a list of <code>TypeDefinition</code>
 objects. This method will be called once during startup.</p>
 <p>Some clients just support read-only access. The in-memory repository
 supports such clients by providing the possibility to fill a repository on
 start-up with data (folders and documents). The folder and document types
 to be used can be configured and also the number of documents and folders
 that are created. Those configuration parameters start with the prefix
-<em>RepositoryFiller.</em> </p>
+<code>RepositoryFiller</code>.</p>
 <p>Bootstrap settings are set in the repository.properties file
-(<em>/WEB-INF/classes/repository.properties</em>). </p>
+(<code>/WEB-INF/classes/repository.properties</code>).</p>
 <div class="codehilite"><pre><span class="c1"># In Memory Settings</span>
- <span class="c1"># The class that enables the in-memory repository as server implementation</span>
+  <span class="c1"># The class that enables the in-memory repository as server implementation</span>
 <span class="n">class</span><span class="o">=</span><span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">chemistry</span><span class="o">.</span><span class="n">opencmis</span><span class="o">.</span><span class="n">inmemory</span><span class="o">.</span><span class="n">server</span><span class="o">.</span><span class="n">InMemoryServiceFactoryImpl</span>
 
- <span class="c1"># A repository that is created on start-up</span>
+<span class="c1"># A repository that is created on start-up</span>
 <span class="n">InMemoryServer</span><span class="o">.</span><span class="n">RepositoryId</span><span class="o">=</span><span class="n">A1</span>
 
- <span class="c1"># The class that used to initialize the type system (creates all types</span>
-</pre></div>
-
+<span class="c1"># The class that used to initialize the type system (creates all types that are available)</span>
+<span class="n">InMemoryServer</span><span class="o">.</span><span class="n">TypesCreatorClass</span><span class="o">=</span><span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">chemistry</span><span class="o">.</span><span class="n">opencmis</span><span class="o">.</span><span class="n">inmemory</span><span class="o">.</span><span class="n">types</span><span class="o">.</span><span class="n">DefaultTypeSystemCreator</span>
 
-<p>that are available)
-    InMemoryServer.TypesCreatorClass=org.apache.chemistry.opencmis.inmemory.types.DefaultTypeSystemCreator</p>
-<div class="codehilite"><pre><span class="c1"># settings to initialize a repository with data on start-up</span>
+<span class="c1"># settings to initialize a repository with data on start-up</span>
   <span class="c1"># enable or disable</span>
 <span class="n">RepositoryFiller</span><span class="o">.</span><span class="n">Enable</span><span class="o">=</span><span class="n">true</span>
   <span class="c1"># Type id of documents that are created</span>
@@ -270,7 +275,10 @@ that are created. Those configuration pa
 <span class="c1">#RepositoryFiller.DocumentProperty.1=StringPropMV</span>
   <span class="c1"># properties to set for a folder</span>
 <span class="c1">#RepositoryFiller.FolderProperty.0=StringFolderProp</span>
-</pre></div></div>
+</pre></div>
+
+
+<br/></div>
              <!-- Content -->
            </td>
           </tr>
@@ -279,6 +287,11 @@ that are created. Those configuration pa
      <td id="cell-2-2">&nbsp;</td>
     </tr>
     <tr width="100%">
+      <td id="cell-3-0">&nbsp;</td>
+      <td id="cell-3-1">&nbsp;</td>
+      <td id="cell-3-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
      <td id="cell-3-0">&nbsp;</td>
      <td id="cell-3-1">
        <div id="footer">
@@ -287,7 +300,8 @@ that are created. Those configuration pa
           
           Apache Chemistry, Apache, the Apache feather logo, and the Apache 
           Chemistry project logo are trademarks of The Apache Software 
-          Foundation.<br /><br />
+          Foundation.
+          <BR />
           Content Management Interoperability Services (CMIS) is an
           <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
           specification.



Mime
View raw message