mcconnell 2003/08/25 09:43:27
Added: merlin/merlin-platform/tutorials/hello project.properties
merlin/merlin-platform/xdocs/meta/model/block/container/components/context/entry/constructor
index.xml navigation.xml parameter.xml
Removed:
merlin/merlin-platform/xdocs/meta/model/block/container/components/context/entry
parameter.xml
Log:
Meta data doc updates and tutorial enhancement.
Revision Changes Path
1.1
avalon-sandbox/merlin/merlin-platform/tutorials/hello/project.properties
Index: project.properties
===================================================================
merlin.info = true
1.1
avalon-sandbox/merlin/merlin-platform/xdocs/meta/model/block/container/components/context/entry/constructor/index.xml
Index: index.xml
===================================================================
<?xml version="1.0"?>
<document>
<header>
<title>Entry Directive</title>
<authors>
<person name="Stephen McConnell" email="[EMAIL PROTECTED]"/>
</authors>
</header>
<body>
<section name="Constructor Directive">
<subsection name="Attributes">
<table>
<tr><th>Attribute</th><th>Required</th><th>Description</th></tr>
<tr>
<td>key</td><td>yes</td>
<td>
The context entry key.
</td>
</tr>
</table>
</subsection>
<subsection name="Nested Elements">
<table>
<tr><th>Element</th><th>Cardinality</th><th>Description</th></tr>
<tr>
<td><a href="parameter.html">param</a></td><td>*</td>
<td>
A constructor argument.If the value of the element is not empty, the
value will be
used as a default constructor argument. Otherwise, Merlin will attempt
to
locate nested parameter elements in order to build a new instance.
</td>
</tr>
</table>
</subsection>
<subsection name="Description">
<p>A context entry directive defines the creation of a tagged object.</p>
</subsection>
<subsection name="Sample XML">
<source><![CDATA[
<component name="basic" class="MyComponent">
<context class="org.apache.avalon.playground.basic.BasicContextImp">
<entry key="gws">
<constructor class="VerySpecialClass">
<param class="java.io.File">temp</param>
<param>George C. Scott</param>
<param class="SpecialClass">
<param>100</param>
<param>200</param>
</param>
</constructor>
</entry>
</context>
</component>
]]></source>
</subsection>
</section>
</body>
</document>
1.1
avalon-sandbox/merlin/merlin-platform/xdocs/meta/model/block/container/components/context/entry/constructor/navigation.xml
Index: navigation.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<project>
<title>Merlin</title>
<body>
<links>
<item name="Home" href="http://avalon.apache.org/"/>
<item name="Framework" href="http://avalon.apache.org/framework/"/>
<item name="Components" href="http://avalon.apache.org/components"/>
<item name="Containers" href="http://avalon.apache.org/containers/"/>
<item name="Sandbox" href="http://avalon.apache.org/sandbox/"/>
</links>
<menu name="About Merlin">
<item name="Overview" href="/about/index.html"/>
<item name="Getting Started" href="/starting/index.html"/>
<item name="Merlin System" href="/merlin/index.html"/>
<item name="Meta Model" href="/meta/index.html">
<item name="Descriptors"
href="http://avalon.apache.org/sandbox/avalon-meta"/>
<item name="Directives" href="/meta/model/index.html">
<item name="Kernel" href="/meta/model/kernel/index.html"/>
<item name="Container" href="/meta/model/block/container/index.html">
<item name="Services"
href="/meta/model/block/container/services/index.html"/>
<item name="Classloader"
href="/meta/model/block/container/engine/index.html"/>
<item name="Component"
href="/meta/model/block/container/components/index.html">
<item name="Categories"
href="/meta/model/block/container/components/categories/index.html"/>
<item name="Context"
href="/meta/model/block/container/components/context/index.html">
<item name="Entry"
href="/meta/model/block/container/components/context/entry/index.html">
<item name="Import"
href="/meta/model/block/container/components/context/entry/import.html"/>
<item name="Constructor"
href="/meta/model/block/container/components/context/entry/constructor/index.html">
<item name="Param"
href="/meta/model/block/container/components/context/entry/constructor/parameter.html"/>
</item>
</item>
</item>
<item name="Configuration"
href="/meta/model/block/container/components/configuration.html"/>
<item name="Parameters"
href="/meta/model/block/container/components/parameters/index.html"/>
</item>
<item name="Container"
href="/meta/model/block/container/containers.html"/>
<item name="Include"
href="/meta/model/block/container/include/index.html"/>
</item>
</item>
</item>
<item name="Tools" href="/tools/index.html"/>
<item name="Resources" href="/resources/index.html"/>
</menu>
<menu name="Extensions">
<item name="JNDI" href="/extensions/jndi/index.html"/>
<item name="Servlet" href="/extensions/servlet/index.html"/>
</menu>
</body>
</project>
1.1
avalon-sandbox/merlin/merlin-platform/xdocs/meta/model/block/container/components/context/entry/constructor/parameter.xml
Index: parameter.xml
===================================================================
<?xml version="1.0"?>
<document>
<header>
<title>Parameter Directive</title>
<authors>
<person name="Stephen McConnell" email="[EMAIL PROTECTED]"/>
</authors>
</header>
<body>
<section name="Param Directive">
<subsection name="Attributes">
<table>
<tr><th>Attribute</th><th>Required</th><th>Description</th></tr>
<tr>
<td>class</td><td>no</td>
<td>
The parameter classname. The default value is java.lang.String.
</td>
</tr>
</table>
</subsection>
<subsection name="Nested Elements">
<table>
<tr><th>Element</th><th>Cardinality</th><th>Description</th></tr>
<tr>
<td><a href="parameter.html">param</a></td><td>0..n</td>
<td>
A constructor argument.
If the value of the parameter is not null, the value will be
used as a default constructor argument. Otherwise, Merlin will attempt to
locate nested parameter elements in order to build a new instance of the
specified class.
</td>
</tr>
</table>
</subsection>
<subsection name="Description">
<p>A param directive within a context or enclosing param represents a constructor
argument value.</p>
</subsection>
<subsection name="Sample XML">
<source><![CDATA[
<component name="basic" class="MyComponent">
<context class="org.apache.avalon.playground.basic.BasicContextImp">
<entry key="gws">
<constructor class="ReallySpecialClass">
<param class="java.io.File">temp</param>
<param>George C. Scott</param>
<param class="SpecialClass">
<param>100</param>
<param>200</param>
</param>
</constructor>
</entry>
</context>
</component>
]]></source>
</subsection>
</section>
</body>
</document>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]