knut        2005/02/15 01:41:17

  Modified:    framework/src/documentation/content/xdocs/hivemind
                        Translators.xml
  Log:
  added missing documentation for "service-id" attribute
  
  Revision  Changes    Path
  1.8       +9 -9      
jakarta-hivemind/framework/src/documentation/content/xdocs/hivemind/Translators.xml
  
  Index: Translators.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-hivemind/framework/src/documentation/content/xdocs/hivemind/Translators.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Translators.xml   5 Jan 2005 21:53:29 -0000       1.7
  +++ Translators.xml   15 Feb 2005 09:41:17 -0000      1.8
  @@ -29,16 +29,16 @@
                <p>The <link 
href="&hivedoc;/config/hivemind.Translators.html">Translators</link>
                        configuration defines the translators that may be used 
with XML conversion
                        rules.</p>
  -             <p>The contribution format defines the name and class for each 
service
  -                     model:</p>
  +             <p>Contributions are of the form:</p>
                <source><![CDATA[
  -<translator name="..." class="..."/>]]> </source>
  -             <p>An instance of the specified class will be instantiated. The 
class must
  -                     implement the <link 
href="&apiroot;/schema/Translator.html">Translator</link>
  -                     interface. It should have a no-args and/or single 
String constructor.</p>
  +<translator name="..." class="..." service-id="..."/>]]> </source>
  +             <p>Only one of <code>class</code> and <code>service-id</code> 
attributes should be 
  +                     specified. The former is the complete name of a class 
(implementing the 
  +                     <link 
href="&apiroot;/schema/Translator.html">Translator</link> interface). It 
  +                     should have a no-args and/or single String constructor. 
The second is used to 
  +                     contribute a service (which must also implement the 
interface).</p>
                <p>Names of translators must be unique; it is not possible to 
override the
  -                     existing service model translators. A single 
translator, <code>class</code>
  -                     , is hard-coded into HiveMind, the others appear as 
ordinary
  -                     contributions.</p>
  +                     existing service model translators. A single 
translator, <code>class</code>,
  +                     is hard-coded into HiveMind, the others appear as 
ordinary contributions.</p>
        </body>
   </document>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to