Module hivemind
Back to master index

[public] Configuration Point hivemind.TranslatorsOccurs: unbounded
Used to define new translators that can be used in contribution conversion rules. Translators must have unique names.
Schema
Element <translator>
Maps a translator name to a translator class.
Attribute class Translator: class
The class to instantiate, which must implement the Translator interface.
Attribute name (required) Translator: string
A unique name for a translator.
Attribute service-id Translator: service
A service which implements the Translator interface.
Conversion Rules
<conversion class="impl.TranslatorContribution" >
  • <map attribute="class" property="translatorClass" />
  • <map attribute="service-id" property="translator" />
</conversion>
Contribution from module hivemind
<translator class="schema.rules.BooleanTranslator" name="boolean" />
<translator class="schema.rules.IntTranslator" name="int" />
<translator class="schema.rules.EnumerationTranslator" name="enumeration" />
<translator class="schema.rules.ConfigurationTranslator" name="configuration" />
<translator class="schema.rules.ResourceTranslator" name="resource" />
<translator class="schema.rules.LongTranslator" name="long" />
<translator class="schema.rules.DoubleTranslator" name="double" />
<translator class="schema.rules.ServicePointTranslator" name="service-point" />
<translator class="schema.rules.QualifiedIdTranslator" name="qualified-id" />
<translator class="schema.rules.IdListTranslator" name="id-list" />
<translator name="object" service-id="ObjectTranslator" />
<translator class="schema.rules.NullTranslator" name="null" />
Contribution from module hiveutils
<translator class="net.sourceforge.hiveutils.service.impl.DeferredObjectTranslator" name="hiveutils-deferred-object" />

Module hivemind
Back to master index