2009/04/15 - Apache HiveMind has been retired.

For more information, please explore the Attic.

Jakarta > HiveMind
Jakarta
 
Font size:      

hivemind.Translators Configuration

The Translators configuration defines the translators that may be used with XML conversion rules.

Contributions are of the form:

<translator name="..." class="..." service-id="..."/> 

Only one of class and service-id attributes should be specified. The former is the complete name of a class (implementing the Translator 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).

Names of translators must be unique; it is not possible to override the existing service model translators. A single translator, class, is hard-coded into HiveMind, the others appear as ordinary contributions.