Author: reto
Date: Tue Nov 30 18:34:53 2010
New Revision: 1040682
URL: http://svn.apache.org/viewvc?rev=1040682&view=rev
Log:
CLEREZZA-356: added edocumentation
Modified:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.platform.typerendering.scalaserverpages/src/main/resources/META-INF/documentation.nt
Modified:
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.platform.typerendering.scalaserverpages/src/main/resources/META-INF/documentation.nt
URL:
http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.platform.typerendering.scalaserverpages/src/main/resources/META-INF/documentation.nt?rev=1040682&r1=1040681&r2=1040682&view=diff
==============================================================================
---
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.platform.typerendering.scalaserverpages/src/main/resources/META-INF/documentation.nt
(original)
+++
incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.platform.typerendering.scalaserverpages/src/main/resources/META-INF/documentation.nt
Tue Nov 30 18:34:53 2010
@@ -15,8 +15,8 @@
<bundle:///intro-content-el/1-content>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#OrderedContent> .
<bundle:///intro-content-el/1-title> <http://discobits.org/ontology#infoBit>
"Example"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<bundle:///intro-content-el/1-title>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<bundle:///intro-content-el/1> <http://discobits.org/ontology#contains>
_:3726f238e71b1a1d8ea95834a12adb531 .
<bundle:///intro-content-el/1> <http://discobits.org/ontology#contains>
_:9a5e36b58506e19b0960c4343250d8481 .
-<bundle:///intro-content-el/1> <http://discobits.org/ontology#contains>
_:e696a99dc91ebddcf13b5a4fd83e55991 .
<bundle:///intro-content-el/1>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#TitledContent> .
<bundle:///intro-content-el/2-content-el/0>
<http://discobits.org/ontology#infoBit> "A ScalaServerPages is transformed into
a Scala Source file and\tcompiled. The content of the ScalaServerPage becomes
the content of\ta method returning AnyRef, the returned Object will be
transformed\tto a String and the to a byte-array to be written to the response
stream"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<bundle:///intro-content-el/2-content-el/0>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
@@ -24,8 +24,8 @@
<bundle:///intro-content-el/2-content>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#OrderedContent> .
<bundle:///intro-content-el/2-title> <http://discobits.org/ontology#infoBit>
"How does it work"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<bundle:///intro-content-el/2-title>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
-<bundle:///intro-content-el/2> <http://discobits.org/ontology#contains>
_:24e6fa9d86686dcbfb52b5127751bae61 .
<bundle:///intro-content-el/2> <http://discobits.org/ontology#contains>
_:3682407f1c90d02dcf9dbf4e83d964f51 .
+<bundle:///intro-content-el/2> <http://discobits.org/ontology#contains>
_:da99b6d94dde0b8db6059543b5fb4c2e1 .
<bundle:///intro-content-el/2>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#TitledContent> .
<bundle:///intro-content-el/3-content-el/0>
<http://discobits.org/ontology#infoBit> "<ul
xmlns=\"http://www.w3.org/1999/xhtml\">\n<li>renderer: CallbackRenderer, used
to delegate to another Renderlet usally not used directly but wia the render
method</li>\n<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>\n<li>val context:GraphNode, a GraphNode
with contextual information not specifically related to the current request,
such as description on the current user </li>\n<li>val mode: String, the
rendering mode</li>\n<li>val uriInfo: UriInfo, the UriRinf of the request,
allows access to the request URI and query parameters</li>\n<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 co
mputation of the same values. Typically this map is not accessed directly,
instead values are retrived with $(\"key\") and set with $(\"key\") =
newvalue</li>\n</ul>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<bundle:///intro-content-el/3-content-el/0>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#XHTMLInfoDiscoBit> .
@@ -45,8 +45,9 @@
<bundle:///intro-content-el/4> <http://discobits.org/ontology#contains>
_:4ec404bddfd220be0cbd615cf8e5b0601 .
<bundle:///intro-content-el/4> <http://discobits.org/ontology#contains>
_:a5ae5910759a36cdf45ffd7c3d80a3d11 .
<bundle:///intro-content-el/4>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#TitledContent> .
-<bundle:///intro-content> <http://discobits.org/ontology#contains>
_:00e341ea1418eb7d9d1be8251d4371001 .
-<bundle:///intro-content> <http://discobits.org/ontology#contains>
_:1b0636249474bcd2765ae5c9853a35851 .
+<bundle:///intro-content> <http://discobits.org/ontology#contains>
_:029c4d64955c82e59691aae5b1309ff51 .
+<bundle:///intro-content> <http://discobits.org/ontology#contains>
_:48acda45ab861e6e75e503f82e162ca21 .
+<bundle:///intro-content> <http://discobits.org/ontology#contains>
_:86e4309edd82a6d415338546caff2d551 .
<bundle:///intro-content> <http://discobits.org/ontology#contains>
_:8ced329518dac9ef741f4099548bb8451 .
<bundle:///intro-content> <http://discobits.org/ontology#contains>
_:dd8a247bd488bf43f747101a7ba2a20c1 .
<bundle:///intro-content> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#OrderedContent> .
@@ -55,24 +56,24 @@
<bundle:///intro> <http://discobits.org/ontology#contains>
_:020fc8812ee941d3b2b320911acca28f1 .
<bundle:///intro> <http://discobits.org/ontology#contains>
_:e3ec06c4352a2370e8bf5d67e15092151 .
<bundle:///intro> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#TitledContent> .
-_:00e341ea1418eb7d9d1be8251d4371001 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/2> .
-_:00e341ea1418eb7d9d1be8251d4371001 <http://discobits.org/ontology#pos> "2" .
-_:00e341ea1418eb7d9d1be8251d4371001
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:020fc8812ee941d3b2b320911acca28f1 <http://discobits.org/ontology#holds>
<bundle:///intro-content> .
_:020fc8812ee941d3b2b320911acca28f1 <http://discobits.org/ontology#pos> "1" .
_:020fc8812ee941d3b2b320911acca28f1
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:029c4d64955c82e59691aae5b1309ff51 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/2> .
+_:029c4d64955c82e59691aae5b1309ff51 <http://discobits.org/ontology#pos> "2" .
+_:029c4d64955c82e59691aae5b1309ff51
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:1256ef77de7d5040007cdb9e51d4d7921 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/1-content-el/1> .
_:1256ef77de7d5040007cdb9e51d4d7921 <http://discobits.org/ontology#pos> "1" .
_:1256ef77de7d5040007cdb9e51d4d7921
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:1b0636249474bcd2765ae5c9853a35851 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/1> .
-_:1b0636249474bcd2765ae5c9853a35851 <http://discobits.org/ontology#pos> "1" .
-_:1b0636249474bcd2765ae5c9853a35851
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:24e6fa9d86686dcbfb52b5127751bae61 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/2-content> .
-_:24e6fa9d86686dcbfb52b5127751bae61 <http://discobits.org/ontology#pos> "1" .
-_:24e6fa9d86686dcbfb52b5127751bae61
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:3682407f1c90d02dcf9dbf4e83d964f51 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/2-title> .
_:3682407f1c90d02dcf9dbf4e83d964f51 <http://discobits.org/ontology#pos> "0" .
_:3682407f1c90d02dcf9dbf4e83d964f51
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:3726f238e71b1a1d8ea95834a12adb531 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/1-content> .
+_:3726f238e71b1a1d8ea95834a12adb531 <http://discobits.org/ontology#pos> "1" .
+_:3726f238e71b1a1d8ea95834a12adb531
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:48acda45ab861e6e75e503f82e162ca21 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/4> .
+_:48acda45ab861e6e75e503f82e162ca21 <http://discobits.org/ontology#pos> "4" .
+_:48acda45ab861e6e75e503f82e162ca21
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:4ea61d47416e6f9e6c7554e011ac53771 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/3-content> .
_:4ea61d47416e6f9e6c7554e011ac53771 <http://discobits.org/ontology#pos> "1" .
_:4ea61d47416e6f9e6c7554e011ac53771
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
@@ -85,6 +86,9 @@ _:78867567097445e338b675c0b1ed3d6f1 <htt
_:7b37e0d7f4c007829584ebc4748b8c2c1 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/1-content-el/2> .
_:7b37e0d7f4c007829584ebc4748b8c2c1 <http://discobits.org/ontology#pos> "2" .
_:7b37e0d7f4c007829584ebc4748b8c2c1
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:86e4309edd82a6d415338546caff2d551 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/1> .
+_:86e4309edd82a6d415338546caff2d551 <http://discobits.org/ontology#pos> "1" .
+_:86e4309edd82a6d415338546caff2d551
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:8ced329518dac9ef741f4099548bb8451 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/0> .
_:8ced329518dac9ef741f4099548bb8451 <http://discobits.org/ontology#pos> "0" .
_:8ced329518dac9ef741f4099548bb8451
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
@@ -103,15 +107,15 @@ _:b04dbb262ab5f725776a61b62125ed231 <htt
_:c9cd1948f40f7dd5a08cd3d4e2144d961 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/3-title> .
_:c9cd1948f40f7dd5a08cd3d4e2144d961 <http://discobits.org/ontology#pos> "0" .
_:c9cd1948f40f7dd5a08cd3d4e2144d961
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
+_:da99b6d94dde0b8db6059543b5fb4c2e1 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/2-content> .
+_:da99b6d94dde0b8db6059543b5fb4c2e1 <http://discobits.org/ontology#pos> "1" .
+_:da99b6d94dde0b8db6059543b5fb4c2e1
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:dd8a247bd488bf43f747101a7ba2a20c1 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/3> .
_:dd8a247bd488bf43f747101a7ba2a20c1 <http://discobits.org/ontology#pos> "3" .
_:dd8a247bd488bf43f747101a7ba2a20c1
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:e3ec06c4352a2370e8bf5d67e15092151 <http://discobits.org/ontology#holds>
<bundle:///intro-title> .
_:e3ec06c4352a2370e8bf5d67e15092151 <http://discobits.org/ontology#pos> "0" .
_:e3ec06c4352a2370e8bf5d67e15092151
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
-_:e696a99dc91ebddcf13b5a4fd83e55991 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/1-content> .
-_:e696a99dc91ebddcf13b5a4fd83e55991 <http://discobits.org/ontology#pos> "1" .
-_:e696a99dc91ebddcf13b5a4fd83e55991
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .
_:e6f8b82a227dd503979824de96650cad1 <http://discobits.org/ontology#holds>
<bundle:///intro-content-el/4-content-el/0> .
_:e6f8b82a227dd503979824de96650cad1 <http://discobits.org/ontology#pos> "0" .
_:e6f8b82a227dd503979824de96650cad1
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://discobits.org/ontology#Entry> .