| Maps translator names to translator classes. |
Element translator |
---|
Maps a translator name to a translator class. |
| Attribute name |
Required
|
| A unique name for a translator. |
| Attribute class |
Optional
|
| Translator | class |
---|
| The class to instantiate, which must implement the Translator interface. |
| Attribute service-id |
Optional
|
| Translator | service |
---|
| A service which implements the Translator interface. |
| Conversion Rules- conversion
(
class=org.apache.hivemind.impl.TranslatorContribution
)
{
- map
(
attribute=class
property=translatorClass
)
- map
(
attribute=service-id
property=translator
)
}
|