notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1997 - in trunk: central/site/src/docs/metro/tutorials tutorials/components/examples/src/main/org/acme
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1997 - in trunk: central/site/src/docs/metro/tutorials tutorials/components/examples/src/main/org/acme
- Date: Mon, 30 Apr 2007 06:50:59 +0200
Author: mcconnell
Date: 2007-04-30 06:50:56 +0200 (Mon, 30 Apr 2007)
New Revision: 1997
Modified:
trunk/central/site/src/docs/metro/tutorials/context-examples.xml
trunk/central/site/src/docs/metro/tutorials/index.xml
trunk/tutorials/components/examples/src/main/org/acme/Demo.java
Log:
documentation improvements
Modified: trunk/central/site/src/docs/metro/tutorials/context-examples.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/context-examples.xml
2007-04-29 16:34:41 UTC (rev 1996)
+++ trunk/central/site/src/docs/metro/tutorials/context-examples.xml
2007-04-30 04:50:56 UTC (rev 1997)
@@ -68,6 +68,11 @@
<param value="george"/>
<param value="mary"/>
</entry>
+ <map key="colors">
+ <entry key="red" class="java.awt.Color" method="RED"/>
+ <entry key="white" class="java.awt.Color" method="WHITE"/>
+ <entry key="blue" class="java.awt.Color" method="BLUE"/>
+ </map>
</context></font>
</component></pre>
Modified: trunk/central/site/src/docs/metro/tutorials/index.xml
===================================================================
--- trunk/central/site/src/docs/metro/tutorials/index.xml 2007-04-29
16:34:41 UTC (rev 1996)
+++ trunk/central/site/src/docs/metro/tutorials/index.xml 2007-04-30
04:50:56 UTC (rev 1997)
@@ -166,7 +166,7 @@
for the handler attibute which in turn is used to establish the
runtime
handler for the class</li>
<li>the runtime handler is supplied with a classloader composed of
jar
- files resolved from the <classpath> defintion</li>
+ files resolved from the <classpath> definition</li>
</ul>
<p>
Modified: trunk/tutorials/components/examples/src/main/org/acme/Demo.java
===================================================================
--- trunk/tutorials/components/examples/src/main/org/acme/Demo.java
2007-04-29 16:34:41 UTC (rev 1996)
+++ trunk/tutorials/components/examples/src/main/org/acme/Demo.java
2007-04-30 04:50:56 UTC (rev 1997)
@@ -39,7 +39,11 @@
//------------------------------------------------------------------
/**
- * Component driven context criteria.
+ * Declaration of the component context contract. This example
+ * demonstrates the default pattern-based approach (a inner interface
named
+ * "Context") to context declaration. The context interface demonstrates
+ * a broad-spectrum of possibilities covering requitred and optional
entries,
+ * primative, and complex values, arrays and maps.
*/
public interface Context
{
- r1997 - in trunk: central/site/src/docs/metro/tutorials tutorials/components/examples/src/main/org/acme, mcconnell at BerliOS, 04/30/2007
Archive powered by MHonArc 2.6.24.