clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1464148 [10/34] - in /clerezza/site/production: ./ architecture/ architecture/images/ bundle-doc/ bundle-doc/org.apache.clerezza.bundledevtool/ bundle-doc/org.apache.clerezza.bundledevtool/intro-content-el/ bundle-doc/org.apache.clerezza.p...
Date Wed, 03 Apr 2013 18:37:57 GMT
Added: clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,27 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4">
+    <j.0:contains rdf:nodeID="A0"/>
+    <j.0:contains rdf:nodeID="A1"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#TitledContent"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A2">
+    <j.0:pos>4</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content">
+    <j.0:contains rdf:nodeID="A2"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4-content"/>
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4-title"/>
+    <j.0:pos>0</j.0:pos>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,113 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Accessing OSGi services
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Accessing OSGi services
+</h1>
+<div class="tx-content">
+
+	<div>ScalaServerPages are used for rendering information, therefore services are typically accessed when producing the RDF and not from the ScalaServePage. Still you can access designated services from the ScalaServerPages, you get an instance with $[serviceInterface], eg.:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+$[AdvertisingService].getBanner
+</div>
+
+You can only access services that are annotated with @org.apache.clerezza.platform.typerendering.WebRenderingService
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,148 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			
+
+	<div>ScalaServerPages allow using scala to render a response resource to a particular output format.
+</div>
+
+	<div><h1>Example
+</h1>
+<div class='tx-content'>
+
+	<div><div xmlns="http://www.w3.org/1999/xhtml">The following shows a simple ScalaServerPage:</div>
+		<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+//a ScalaServePage to render a http://clerezza.org/2009/05/usermanager#UserPermissionPage
+def um(s: Any) = new UriRef("http://clerezza.org/2009/05/usermanager#"+s)
+def perm(s: Any) = new UriRef("http://clerezza.org/2008/10/permission#"+s)
+&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Permissions for user {res/um("user")/FOAF.name}&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (permission &lt;- res/um("permission")) yield
+		&lt;div id="permission"&gt;
+			{permission/perm("javaPermissionEntry")*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+
+&lt;/html&gt;
+		</div>
+
+</div>
+
+	<div>The following iterates over an rdf:List represented by the root-resource
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+//a ScalaServePage to render a http://clerezza.org/2009/05/renderletmanager#RenderletManagerPage
+def typerendering(s: Any) = new UriRef("http://clerezza.org/2009/04/typerendering#"+s)
+&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Listing renderlets&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (renderlet &lt;- res!!) yield
+		&lt;div id="renderlet"&gt;
+			type: {renderlet*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+&lt;/html&gt;
+</div>
+</div>
+
+	<div>You can sort rdf:List using the sort-method:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+//sorting the URIs of a http://clerezza.org/2009/05/renderletmanager#RenderletManagerPage
+&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Listing renderlets&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (renderlet &lt;- (res!!).sort((a,b) =&gt; ((a*) &lt; (b*)))) yield
+		&lt;div id="renderlet"&gt;
+			type: {renderlet*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+&lt;/html&gt;
+</div>
+</div>
+
+	<div>same for properties:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+//a ScalaServePage to render a http://clerezza.org/2009/05/usermanager#UserPermissionPage
+//sorting by java-permission-entry
+def um(s: Any) = new UriRef("http://clerezza.org/2009/05/usermanager#"+s)
+def perm(s: Any) = new UriRef("http://clerezza.org/2008/10/permission#"+s)
+&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Permissions for user {res/um("user")/FOAF.name}&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (permission &lt;- (res/um("permission"))
+	    .sort((a,b) =&gt; (a/perm("javaPermissionEntry")*) &lt; 
+                    (b/perm("javaPermissionEntry")*))) yield
+		&lt;div id="permission"&gt;
+			{permission/perm("javaPermissionEntry")*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+
+&lt;/html&gt;
+</div>
+</div>
+
+</div>
+</div>
+
+	<div><h1>How does it work
+</h1>
+<div class='tx-content'>
+
+	<div>A ScalaServerPages is transformed into a Scala Source file and	compiled. The content of the ScalaServerPage becomes the content of	a method returning AnyRef, the returned Object will be transformed	to a String and the to a byte-array to be written to the response stream
+</div>
+
+</div>
+</div>
+
+	<div><h1>Avialable values
+</h1>
+<div class='tx-content'>
+
+	<div><ul xmlns="http://www.w3.org/1999/xhtml">
+<li>renderer: CallbackRenderer, used to delegate to another Renderlet usally not used directly but wia the render method</li>
+<li>res: GraphNode, the main response resource, as a GraphNode it is dynamically converted to a RichGraphNode allowing the functions provided by org.apache.clerezza.utils.scala</li>
+<li>val context:GraphNode, a GraphNode with contextual information not specifically related to the current request, such as description on the current user </li>
+<li>val mode: String, the rendering mode</li>
+<li>val uriInfo: UriInfo, the UriRinf of the request, allows access to the request URI and query parameters</li>
+<li>val sharedRenderingValues: java.util.Map[String, Object], a map used to share values across the different renderlets and ScalaServerPages involved in the creation of a representation, typically used to prevent repeated computation of the same values. Typically this map is not accessed directly, instead values are retrived with $("key") and set with $("key") = newvalue</li>
+</ul>
+</div>
+
+</div>
+</div>
+
+	<div><h1>Accessing OSGi services
+</h1>
+<div class='tx-content'>
+
+	<div>ScalaServerPages are used for rendering information, therefore services are typically accessed when producing the RDF and not from the ScalaServePage. Still you can access designated services from the ScalaServerPages, you get an instance with $[serviceInterface], eg.:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+$[AdvertisingService].getBanner
+</div>
+
+You can only access services that are annotated with @org.apache.clerezza.platform.typerendering.WebRenderingService
+</div>
+
+</div>
+</div>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,45 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/2"/>
+    <j.0:pos>2</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.0:pos>4</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/4"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content">
+    <rdf:type rdf:resource="http://discobits.org/ontology#OrderedContent"/>
+    <j.0:contains rdf:nodeID="A2"/>
+    <j.0:contains rdf:nodeID="A0"/>
+    <j.0:contains rdf:nodeID="A1"/>
+    <j.0:contains rdf:nodeID="A3"/>
+    <j.0:contains rdf:nodeID="A4"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A3">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>0</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/0"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro">
+    <j.0:contains rdf:nodeID="A5"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A2">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/3"/>
+    <j.0:pos>3</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A5">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>1</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A4">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content-el/1"/>
+    <j.0:pos>1</j.0:pos>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,148 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			
+
+	<div>ScalaServerPages allow using scala to render a response resource to a particular output format.
+</div>
+
+	<div><h1>Example
+</h1>
+<div class='tx-content'>
+
+	<div><div xmlns="http://www.w3.org/1999/xhtml">The following shows a simple ScalaServerPage:</div>
+		<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+//a ScalaServePage to render a http://clerezza.org/2009/05/usermanager#UserPermissionPage
+def um(s: Any) = new UriRef("http://clerezza.org/2009/05/usermanager#"+s)
+def perm(s: Any) = new UriRef("http://clerezza.org/2008/10/permission#"+s)
+&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Permissions for user {res/um("user")/FOAF.name}&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (permission &lt;- res/um("permission")) yield
+		&lt;div id="permission"&gt;
+			{permission/perm("javaPermissionEntry")*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+
+&lt;/html&gt;
+		</div>
+
+</div>
+
+	<div>The following iterates over an rdf:List represented by the root-resource
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+//a ScalaServePage to render a http://clerezza.org/2009/05/renderletmanager#RenderletManagerPage
+def typerendering(s: Any) = new UriRef("http://clerezza.org/2009/04/typerendering#"+s)
+&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Listing renderlets&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (renderlet &lt;- res!!) yield
+		&lt;div id="renderlet"&gt;
+			type: {renderlet*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+&lt;/html&gt;
+</div>
+</div>
+
+	<div>You can sort rdf:List using the sort-method:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+//sorting the URIs of a http://clerezza.org/2009/05/renderletmanager#RenderletManagerPage
+&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Listing renderlets&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (renderlet &lt;- (res!!).sort((a,b) =&gt; ((a*) &lt; (b*)))) yield
+		&lt;div id="renderlet"&gt;
+			type: {renderlet*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+&lt;/html&gt;
+</div>
+</div>
+
+	<div>same for properties:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+//a ScalaServePage to render a http://clerezza.org/2009/05/usermanager#UserPermissionPage
+//sorting by java-permission-entry
+def um(s: Any) = new UriRef("http://clerezza.org/2009/05/usermanager#"+s)
+def perm(s: Any) = new UriRef("http://clerezza.org/2008/10/permission#"+s)
+&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Permissions for user {res/um("user")/FOAF.name}&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (permission &lt;- (res/um("permission"))
+	    .sort((a,b) =&gt; (a/perm("javaPermissionEntry")*) &lt; 
+                    (b/perm("javaPermissionEntry")*))) yield
+		&lt;div id="permission"&gt;
+			{permission/perm("javaPermissionEntry")*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+
+&lt;/html&gt;
+</div>
+</div>
+
+</div>
+</div>
+
+	<div><h1>How does it work
+</h1>
+<div class='tx-content'>
+
+	<div>A ScalaServerPages is transformed into a Scala Source file and	compiled. The content of the ScalaServerPage becomes the content of	a method returning AnyRef, the returned Object will be transformed	to a String and the to a byte-array to be written to the response stream
+</div>
+
+</div>
+</div>
+
+	<div><h1>Avialable values
+</h1>
+<div class='tx-content'>
+
+	<div><ul xmlns="http://www.w3.org/1999/xhtml">
+<li>renderer: CallbackRenderer, used to delegate to another Renderlet usally not used directly but wia the render method</li>
+<li>res: GraphNode, the main response resource, as a GraphNode it is dynamically converted to a RichGraphNode allowing the functions provided by org.apache.clerezza.utils.scala</li>
+<li>val context:GraphNode, a GraphNode with contextual information not specifically related to the current request, such as description on the current user </li>
+<li>val mode: String, the rendering mode</li>
+<li>val uriInfo: UriInfo, the UriRinf of the request, allows access to the request URI and query parameters</li>
+<li>val sharedRenderingValues: java.util.Map[String, Object], a map used to share values across the different renderlets and ScalaServerPages involved in the creation of a representation, typically used to prevent repeated computation of the same values. Typically this map is not accessed directly, instead values are retrived with $("key") and set with $("key") = newvalue</li>
+</ul>
+</div>
+
+</div>
+</div>
+
+	<div><h1>Accessing OSGi services
+</h1>
+<div class='tx-content'>
+
+	<div>ScalaServerPages are used for rendering information, therefore services are typically accessed when producing the RDF and not from the ScalaServePage. Still you can access designated services from the ScalaServerPages, you get an instance with $[serviceInterface], eg.:
+<div xmlns="http://www.w3.org/1999/xhtml" class="tx-blockcode">
+$[AdvertisingService].getBanner
+</div>
+
+You can only access services that are annotated with @org.apache.clerezza.platform.typerendering.WebRenderingService
+</div>
+
+</div>
+</div>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			ScalaServerPages
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,16 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title">
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+    <j.0:infoBit rdf:parseType="Literal">ScalaServerPages</j.0:infoBit>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>0</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			ScalaServerPages
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,240 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>ScalaServerPages
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>ScalaServerPages
+</h1>
+<div class="tx-content">
+
+	<div>ScalaServerPages allow using scala to render a response resource to a particular output format.
+</div>
+
+	<div><h2>Example
+</h2>
+<div class="tx-content">
+
+	<div><div xmlns="http://www.w3.org/1999/xhtml">The following shows a simple ScalaServerPage:</div>
+		<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+//a ScalaServePage to render a http://clerezza.org/2009/05/usermanager#UserPermissionPage
+def um(s: Any) = new UriRef(&quot;http://clerezza.org/2009/05/usermanager#&quot;+s)
+def perm(s: Any) = new UriRef(&quot;http://clerezza.org/2008/10/permission#&quot;+s)
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Permissions for user {res/um(&quot;user&quot;)/FOAF.name}&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (permission &lt;- res/um(&quot;permission&quot;)) yield
+		&lt;div id=&quot;permission&quot;&gt;
+			{permission/perm(&quot;javaPermissionEntry&quot;)*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+
+&lt;/html&gt;
+		</div>
+
+</div>
+
+	<div>The following iterates over an rdf:List represented by the root-resource
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+//a ScalaServePage to render a http://clerezza.org/2009/05/renderletmanager#RenderletManagerPage
+def typerendering(s: Any) = new UriRef(&quot;http://clerezza.org/2009/04/typerendering#&quot;+s)
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Listing renderlets&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (renderlet &lt;- res!!) yield
+		&lt;div id=&quot;renderlet&quot;&gt;
+			type: {renderlet*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+&lt;/html&gt;
+</div>
+</div>
+
+	<div>You can sort rdf:List using the sort-method:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+//sorting the URIs of a http://clerezza.org/2009/05/renderletmanager#RenderletManagerPage
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Listing renderlets&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (renderlet &lt;- (res!!).sort((a,b) =&gt; ((a*) &lt; (b*)))) yield
+		&lt;div id=&quot;renderlet&quot;&gt;
+			type: {renderlet*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+&lt;/html&gt;
+</div>
+</div>
+
+	<div>same for properties:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+//a ScalaServePage to render a http://clerezza.org/2009/05/usermanager#UserPermissionPage
+//sorting by java-permission-entry
+def um(s: Any) = new UriRef(&quot;http://clerezza.org/2009/05/usermanager#&quot;+s)
+def perm(s: Any) = new UriRef(&quot;http://clerezza.org/2008/10/permission#&quot;+s)
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Permissions for user {res/um(&quot;user&quot;)/FOAF.name}&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (permission &lt;- (res/um(&quot;permission&quot;))
+	    .sort((a,b) =&gt; (a/perm(&quot;javaPermissionEntry&quot;)*) &lt; 
+                    (b/perm(&quot;javaPermissionEntry&quot;)*))) yield
+		&lt;div id=&quot;permission&quot;&gt;
+			{permission/perm(&quot;javaPermissionEntry&quot;)*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+
+&lt;/html&gt;
+</div>
+</div>
+
+</div>
+</div>
+
+	<div><h2>How does it work
+</h2>
+<div class="tx-content">
+
+	<div>A ScalaServerPages is transformed into a Scala Source file and	compiled. The content of the ScalaServerPage becomes the content of	a method returning AnyRef, the returned Object will be transformed	to a String and the to a byte-array to be written to the response stream
+</div>
+
+</div>
+</div>
+
+	<div><h2>Avialable values
+</h2>
+<div class="tx-content">
+
+	<div><ul xmlns="http://www.w3.org/1999/xhtml">
+<li>renderer: CallbackRenderer, used to delegate to another Renderlet usally not used directly but wia the render method</li>
+<li>res: GraphNode, the main response resource, as a GraphNode it is dynamically converted to a RichGraphNode allowing the functions provided by org.apache.clerezza.utils.scala</li>
+<li>val context:GraphNode, a GraphNode with contextual information not specifically related to the current request, such as description on the current user </li>
+<li>val mode: String, the rendering mode</li>
+<li>val uriInfo: UriInfo, the UriRinf of the request, allows access to the request URI and query parameters</li>
+<li>val sharedRenderingValues: java.util.Map[String, Object], a map used to share values across the different renderlets and ScalaServerPages involved in the creation of a representation, typically used to prevent repeated computation of the same values. Typically this map is not accessed directly, instead values are retrived with $(&quot;key&quot;) and set with $(&quot;key&quot;) = newvalue</li>
+</ul>
+</div>
+
+</div>
+</div>
+
+	<div><h2>Accessing OSGi services
+</h2>
+<div class="tx-content">
+
+	<div>ScalaServerPages are used for rendering information, therefore services are typically accessed when producing the RDF and not from the ScalaServePage. Still you can access designated services from the ScalaServerPages, you get an instance with $[serviceInterface], eg.:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+$[AdvertisingService].getBanner
+</div>
+
+You can only access services that are annotated with @org.apache.clerezza.platform.typerendering.WebRenderingService
+</div>
+
+</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,26 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://clerezza.org/2009/08/documentation#"
+    xmlns:j.1="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro">
+    <j.1:contains rdf:nodeID="A0"/>
+    <j.1:contains rdf:nodeID="A1"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#TitledContent"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scala/intro">
+    <j.0:after rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.1:pos>1</j.1:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.1:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-content"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.1:pos>0</j.1:pos>
+    <j.1:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro-title"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="mvn:org.apache.clerezza/platform.typerendering.scalaserverpages/0.4-SNAPSHOT">
+    <j.0:documentation rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.platform.typerendering.scalaserverpages/intro.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,240 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>ScalaServerPages
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>ScalaServerPages
+</h1>
+<div class="tx-content">
+
+	<div>ScalaServerPages allow using scala to render a response resource to a particular output format.
+</div>
+
+	<div><h2>Example
+</h2>
+<div class="tx-content">
+
+	<div><div xmlns="http://www.w3.org/1999/xhtml">The following shows a simple ScalaServerPage:</div>
+		<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+//a ScalaServePage to render a http://clerezza.org/2009/05/usermanager#UserPermissionPage
+def um(s: Any) = new UriRef(&quot;http://clerezza.org/2009/05/usermanager#&quot;+s)
+def perm(s: Any) = new UriRef(&quot;http://clerezza.org/2008/10/permission#&quot;+s)
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Permissions for user {res/um(&quot;user&quot;)/FOAF.name}&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (permission &lt;- res/um(&quot;permission&quot;)) yield
+		&lt;div id=&quot;permission&quot;&gt;
+			{permission/perm(&quot;javaPermissionEntry&quot;)*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+
+&lt;/html&gt;
+		</div>
+
+</div>
+
+	<div>The following iterates over an rdf:List represented by the root-resource
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+//a ScalaServePage to render a http://clerezza.org/2009/05/renderletmanager#RenderletManagerPage
+def typerendering(s: Any) = new UriRef(&quot;http://clerezza.org/2009/04/typerendering#&quot;+s)
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Listing renderlets&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (renderlet &lt;- res!!) yield
+		&lt;div id=&quot;renderlet&quot;&gt;
+			type: {renderlet*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+&lt;/html&gt;
+</div>
+</div>
+
+	<div>You can sort rdf:List using the sort-method:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+//sorting the URIs of a http://clerezza.org/2009/05/renderletmanager#RenderletManagerPage
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Listing renderlets&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (renderlet &lt;- (res!!).sort((a,b) =&gt; ((a*) &lt; (b*)))) yield
+		&lt;div id=&quot;renderlet&quot;&gt;
+			type: {renderlet*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+&lt;/html&gt;
+</div>
+</div>
+
+	<div>same for properties:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+//a ScalaServePage to render a http://clerezza.org/2009/05/usermanager#UserPermissionPage
+//sorting by java-permission-entry
+def um(s: Any) = new UriRef(&quot;http://clerezza.org/2009/05/usermanager#&quot;+s)
+def perm(s: Any) = new UriRef(&quot;http://clerezza.org/2008/10/permission#&quot;+s)
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
+	&lt;head&gt;
+    	&lt;title&gt;Permissions for user {res/um(&quot;user&quot;)/FOAF.name}&lt;/title&gt;
+	&lt;/head&gt;
+	&lt;body&gt;
+	{for (permission &lt;- (res/um(&quot;permission&quot;))
+	    .sort((a,b) =&gt; (a/perm(&quot;javaPermissionEntry&quot;)*) &lt; 
+                    (b/perm(&quot;javaPermissionEntry&quot;)*))) yield
+		&lt;div id=&quot;permission&quot;&gt;
+			{permission/perm(&quot;javaPermissionEntry&quot;)*}
+		&lt;/div&gt;
+	}
+	&lt;/body&gt;
+
+&lt;/html&gt;
+</div>
+</div>
+
+</div>
+</div>
+
+	<div><h2>How does it work
+</h2>
+<div class="tx-content">
+
+	<div>A ScalaServerPages is transformed into a Scala Source file and	compiled. The content of the ScalaServerPage becomes the content of	a method returning AnyRef, the returned Object will be transformed	to a String and the to a byte-array to be written to the response stream
+</div>
+
+</div>
+</div>
+
+	<div><h2>Avialable values
+</h2>
+<div class="tx-content">
+
+	<div><ul xmlns="http://www.w3.org/1999/xhtml">
+<li>renderer: CallbackRenderer, used to delegate to another Renderlet usally not used directly but wia the render method</li>
+<li>res: GraphNode, the main response resource, as a GraphNode it is dynamically converted to a RichGraphNode allowing the functions provided by org.apache.clerezza.utils.scala</li>
+<li>val context:GraphNode, a GraphNode with contextual information not specifically related to the current request, such as description on the current user </li>
+<li>val mode: String, the rendering mode</li>
+<li>val uriInfo: UriInfo, the UriRinf of the request, allows access to the request URI and query parameters</li>
+<li>val sharedRenderingValues: java.util.Map[String, Object], a map used to share values across the different renderlets and ScalaServerPages involved in the creation of a representation, typically used to prevent repeated computation of the same values. Typically this map is not accessed directly, instead values are retrived with $(&quot;key&quot;) and set with $(&quot;key&quot;) = newvalue</li>
+</ul>
+</div>
+
+</div>
+</div>
+
+	<div><h2>Accessing OSGi services
+</h2>
+<div class="tx-content">
+
+	<div>ScalaServerPages are used for rendering information, therefore services are typically accessed when producing the RDF and not from the ScalaServePage. Still you can access designated services from the ScalaServerPages, you get an instance with $[serviceInterface], eg.:
+<div class="tx-blockcode" xmlns="http://www.w3.org/1999/xhtml">
+$[AdvertisingService].getBanner
+</div>
+
+You can only access services that are annotated with @org.apache.clerezza.platform.typerendering.WebRenderingService
+</div>
+
+</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,30 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			<p xmlns="http://www.w3.org/1999/xhtml">
+			Smart Content Binding (SCB) is an open source framework developed by 
+			clerezza.org aiming primarily at providing a java implementation of the 
+			graph data model specified by W3C RDF [<a href="#ref1">1</a>] and 
+			functionalities to operate on that data model. SCB offers a service 
+			interface to access multiple named graphs and it can use various 
+			providers to manage RDF graphs in a technology specific manner, e.g., 
+			using Jena [<a href="#ref2">2</a>] (TBD) or Sesame [<a href="#ref3">3</a>]. 
+			It also provides façades that allow an application to use Jena or Sesame (TBD) 
+			APIs to process RDF graphs (note that the choice of a façade is independent of
+                        the chosen backend; you can for example use the Jena façade to write
+                        your code against the Jena API while using the Sesame provider to store
+                        your data in a Sesame store). 
+			Furthermore, SCB offers a serialization and a parsing service to convert 
+			a graph into a certain representation (format) and vice versa. In order 
+			to support ontologies usage, SCB provides a tool to convert ontologies 
+			defined in various formats including RDF/XML into Java classes.
+		</p>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,26 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content">
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+    <j.0:infoBit rdf:parseType="Literal"><p xmlns="http://www.w3.org/1999/xhtml">
+			Smart Content Binding (SCB) is an open source framework developed by 
+			clerezza.org aiming primarily at providing a java implementation of the 
+			graph data model specified by W3C RDF [<a href="#ref1">1</a>] and 
+			functionalities to operate on that data model. SCB offers a service 
+			interface to access multiple named graphs and it can use various 
+			providers to manage RDF graphs in a technology specific manner, e.g., 
+			using Jena [<a href="#ref2">2</a>] (TBD) or Sesame [<a href="#ref3">3</a>]. 
+			It also provides façades that allow an application to use Jena or Sesame (TBD) 
+			APIs to process RDF graphs (note that the choice of a façade is independent of
+                        the chosen backend; you can for example use the Jena façade to write
+                        your code against the Jena API while using the Sesame provider to store
+                        your data in a Sesame store). 
+			Furthermore, SCB offers a serialization and a parsing service to convert 
+			a graph into a certain representation (format) and vice versa. In order 
+			to support ontologies usage, SCB provides a tool to convert ontologies 
+			defined in various formats including RDF/XML into Java classes.
+		</p>
+</j.0:infoBit>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-content.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,30 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			<p xmlns="http://www.w3.org/1999/xhtml">
+			Smart Content Binding (SCB) is an open source framework developed by 
+			clerezza.org aiming primarily at providing a java implementation of the 
+			graph data model specified by W3C RDF [<a href="#ref1">1</a>] and 
+			functionalities to operate on that data model. SCB offers a service 
+			interface to access multiple named graphs and it can use various 
+			providers to manage RDF graphs in a technology specific manner, e.g., 
+			using Jena [<a href="#ref2">2</a>] (TBD) or Sesame [<a href="#ref3">3</a>]. 
+			It also provides façades that allow an application to use Jena or Sesame (TBD) 
+			APIs to process RDF graphs (note that the choice of a façade is independent of
+                        the chosen backend; you can for example use the Jena façade to write
+                        your code against the Jena API while using the Sesame provider to store
+                        your data in a Sesame store). 
+			Furthermore, SCB offers a serialization and a parsing service to convert 
+			a graph into a certain representation (format) and vice versa. In order 
+			to support ontologies usage, SCB provides a tool to convert ontologies 
+			defined in various formats including RDF/XML into Java classes.
+		</p>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Introduction
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,8 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title">
+    <j.0:infoBit rdf:parseType="Literal">Introduction</j.0:infoBit>
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0-title.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Introduction
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			<strong xmlns="http://www.w3.org/1999/xhtml">Introduction</strong>
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,8 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0">
+    <j.0:infoBit rdf:parseType="Literal"><strong xmlns="http://www.w3.org/1999/xhtml">Introduction</strong></j.0:infoBit>
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/0.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			<strong xmlns="http://www.w3.org/1999/xhtml">Introduction</strong>
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,65 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			<p xmlns="http://www.w3.org/1999/xhtml">
+			SCB comprises the following architectural components as depicted in Fig. 1:
+		</p>
+		<ul xmlns="http://www.w3.org/1999/xhtml">
+			<li>Core</li>
+			<li>Facades</li>
+			<li>Utilities</li>
+			<li>Storage Providers</li>
+			<li>Parsing Providers</li>
+			<li>Serializing Providers</li>
+			<li>Ontologies Tool</li>
+		</ul>
+
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			<img alt="SCB Architecture" src="images/scb_architecture.png"/>
+			<br/><i>Figure 1: SCB Architecture</i>
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			The Core contains interface definitions of the RDF graph data model and its 
+			implementation. The three main classes are <code>Graph</code>, <code>MGraph</code>, 
+			and <code>TripleCollection</code>. The class <code>Graph</code> represents an 
+			immutable RDF Graph, as such its identity criterion is defined in terms of 
+			graph-isomorphism. The class <code>MGraph</code> represents a mutable RDF Graph, 
+			which enables triples to be added to or removed from a graph. The class 
+			<code>TripleCollection</code> is the super class of both the class <code>Graph</code> 
+			and <code>M</code><code></code><code></code><code></code><code></code><code></code><code></code><code></code><code>Graph</code>. 
+			SCB Core provides three services: <code>TcManager</code> [<a href="#ref4">4</a>] allows access to 
+			the various <code>TripleCollection</code>s, <code>Parser</code> [<a href="#ref5">5</a>] and 
+			<code>Serializer</code> [<a href="#ref6">6</a>] to allow reading and writing graphs from and to 
+			various formats. In an OSGi environment these services are accessed using the 
+			service registry or injected using OSGi Declarative Services. In a non OSGi environment 
+			static factory methods are used to return an instance. 
+			The <code>TcManager</code> delegates actual processing tasks to a specific Storage Provider 
+			chosen from a set of Storage Providers based on their priority number (weight). 
+			Storage Providers can be dynamically bound to or unbound from the Core. 
+			The functionality required by the Parser and Serializer is delegated to registered 
+			Parsing and Serializing Providers respectively, according to their capability 
+			(supported formats). Later registered providers shadow previous ones for the same format.
+		</p>
+
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			The current implementation of SCB includes a Jena Façade. The Jena Façade allows an 
+			application to use Jena API to manipulate a TC. 
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			In order to ease operations on a resource in a TC, the Utilities component provides 
+			a class with a set of useful methods, e.g., to delete all triples (statements) with 
+			the resource as subject and a specified predicate. 
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			Finally, the Ontologies Tool contains a standalone application called SchemaGen to 
+			generate the Java source code with constants from an ontology description.
+		</p>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,69 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content">
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+    <j.0:infoBit rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;
+			SCB comprises the following architectural components as depicted in Fig. 1:
+		&lt;/p&gt;
+		&lt;ul xmlns="http://www.w3.org/1999/xhtml"&gt;
+			&lt;li&gt;Core&lt;/li&gt;
+			&lt;li&gt;Facades&lt;/li&gt;
+			&lt;li&gt;Utilities&lt;/li&gt;
+			&lt;li&gt;Storage Providers&lt;/li&gt;
+			&lt;li&gt;Parsing Providers&lt;/li&gt;
+			&lt;li&gt;Serializing Providers&lt;/li&gt;
+			&lt;li&gt;Ontologies Tool&lt;/li&gt;
+		&lt;/ul&gt;
+
+		&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;
+			&lt;img alt="SCB Architecture" src="images/scb_architecture.png"/&gt;
+			&lt;br/&gt;&lt;i&gt;Figure 1: SCB Architecture&lt;/i&gt;
+		&lt;/p&gt;
+		&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;
+			The Core contains interface definitions of the RDF graph data model and its 
+			implementation. The three main classes are &lt;code&gt;Graph&lt;/code&gt;, &lt;code&gt;MGraph&lt;/code&gt;, 
+			and &lt;code&gt;TripleCollection&lt;/code&gt;. The class &lt;code&gt;Graph&lt;/code&gt; represents an 
+			immutable RDF Graph, as such its identity criterion is defined in terms of 
+			graph-isomorphism. The class &lt;code&gt;MGraph&lt;/code&gt; represents a mutable RDF Graph, 
+			which enables triples to be added to or removed from a graph. The class 
+			&lt;code&gt;TripleCollection&lt;/code&gt; is the super class of both the class &lt;code&gt;Graph&lt;/code&gt; 
+			and &lt;code&gt;M&lt;/code&gt;&lt;code/&gt;&lt;code/&gt;&lt;code/&gt;&lt;code/&gt;&lt;code/&gt;&lt;code/&gt;&lt;code/&gt;&lt;code&gt;Graph&lt;/code&gt;. 
+			SCB Core provides three services: &lt;code&gt;TcManager&lt;/code&gt; [&lt;a href="#ref4"&gt;4&lt;/a&gt;] allows access to 
+			the various &lt;code&gt;TripleCollection&lt;/code&gt;s, &lt;code&gt;Parser&lt;/code&gt; [&lt;a href="#ref5"&gt;5&lt;/a&gt;] and 
+			&lt;code&gt;Serializer&lt;/code&gt; [&lt;a href="#ref6"&gt;6&lt;/a&gt;] to allow reading and writing graphs from and to 
+			various formats. In an OSGi environment these services are accessed using the 
+			service registry or injected using OSGi Declarative Services. In a non OSGi environment 
+			static factory methods are used to return an instance. 
+			The &lt;code&gt;TcManager&lt;/code&gt; delegates actual processing tasks to a specific Storage Provider 
+			chosen from a set of Storage Providers based on their priority number (weight). 
+			Storage Providers can be dynamically bound to or unbound from the Core. 
+			The functionality required by the Parser and Serializer is delegated to registered 
+			Parsing and Serializing Providers respectively, according to their capability 
+			(supported formats). Later registered providers shadow previous ones for the same format.
+		&lt;/p&gt;
+
+		&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;
+			The current implementation of SCB includes a Jena Façade. The Jena Façade allows an 
+			application to use Jena API to manipulate a TC. 
+		&lt;/p&gt;
+		&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;
+			In order to ease operations on a resource in a TC, the Utilities component provides 
+			a class with a set of useful methods, e.g., to delete all triples (statements) with 
+			the resource as subject and a specified predicate. 
+		&lt;/p&gt;
+		&lt;p xmlns="http://www.w3.org/1999/xhtml"&gt;
+			Finally, the Ontologies Tool contains a standalone application called SchemaGen to 
+			generate the Java source code with constants from an ontology description.
+		&lt;/p&gt;
+</j.0:infoBit>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content"/>
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-content.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,65 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			<p xmlns="http://www.w3.org/1999/xhtml">
+			SCB comprises the following architectural components as depicted in Fig. 1:
+		</p>
+		<ul xmlns="http://www.w3.org/1999/xhtml">
+			<li>Core</li>
+			<li>Facades</li>
+			<li>Utilities</li>
+			<li>Storage Providers</li>
+			<li>Parsing Providers</li>
+			<li>Serializing Providers</li>
+			<li>Ontologies Tool</li>
+		</ul>
+
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			<img alt="SCB Architecture" src="images/scb_architecture.png"/>
+			<br/><i>Figure 1: SCB Architecture</i>
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			The Core contains interface definitions of the RDF graph data model and its 
+			implementation. The three main classes are <code>Graph</code>, <code>MGraph</code>, 
+			and <code>TripleCollection</code>. The class <code>Graph</code> represents an 
+			immutable RDF Graph, as such its identity criterion is defined in terms of 
+			graph-isomorphism. The class <code>MGraph</code> represents a mutable RDF Graph, 
+			which enables triples to be added to or removed from a graph. The class 
+			<code>TripleCollection</code> is the super class of both the class <code>Graph</code> 
+			and <code>M</code><code/><code/><code/><code/><code/><code/><code/><code>Graph</code>. 
+			SCB Core provides three services: <code>TcManager</code> [<a href="#ref4">4</a>] allows access to 
+			the various <code>TripleCollection</code>s, <code>Parser</code> [<a href="#ref5">5</a>] and 
+			<code>Serializer</code> [<a href="#ref6">6</a>] to allow reading and writing graphs from and to 
+			various formats. In an OSGi environment these services are accessed using the 
+			service registry or injected using OSGi Declarative Services. In a non OSGi environment 
+			static factory methods are used to return an instance. 
+			The <code>TcManager</code> delegates actual processing tasks to a specific Storage Provider 
+			chosen from a set of Storage Providers based on their priority number (weight). 
+			Storage Providers can be dynamically bound to or unbound from the Core. 
+			The functionality required by the Parser and Serializer is delegated to registered 
+			Parsing and Serializing Providers respectively, according to their capability 
+			(supported formats). Later registered providers shadow previous ones for the same format.
+		</p>
+
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			The current implementation of SCB includes a Jena Façade. The Jena Façade allows an 
+			application to use Jena API to manipulate a TC. 
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			In order to ease operations on a resource in a TC, the Utilities component provides 
+			a class with a set of useful methods, e.g., to delete all triples (statements) with 
+			the resource as subject and a specified predicate. 
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			Finally, the Ontologies Tool contains a standalone application called SchemaGen to 
+			generate the Java source code with constants from an ontology description.
+		</p>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Architecture
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,16 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:pos>0</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title">
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+    <j.0:infoBit rdf:parseType="Literal">Architecture</j.0:infoBit>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content-content-el/1-title.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Architecture
+
+	</body>
+</html>



Mime
View raw message