org.apache.hivemind.impl
Class TranslatorContribution

java.lang.Object
  |
  +--org.apache.hivemind.impl.BaseLocatable
        |
        +--org.apache.hivemind.impl.TranslatorContribution
All Implemented Interfaces:
Locatable, LocationHolder

public class TranslatorContribution
extends BaseLocatable

A contribution to the hivemind.Translators configuration point. The configuration point defines the available translators that may be used in XML conversion rules ... however, a single "bootstrap" translator (class - ClassTranslator ) is hardcoded (and doesn't appear in the configuration point).

Author:
Howard Lewis Ship

Constructor Summary
TranslatorContribution()
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.Class getTranslatorClass()
           
 void setName(java.lang.String name)
           
 void setTranslatorClass(java.lang.Class translatorClass)
           
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslatorContribution

public TranslatorContribution()
Method Detail

getName

public java.lang.String getName()

getTranslatorClass

public java.lang.Class getTranslatorClass()

setName

public void setName(java.lang.String name)

setTranslatorClass

public void setTranslatorClass(java.lang.Class translatorClass)