|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.hivemind.schema.rules.ServiceTranslator
Used to translate a value into a reference to a HiveMind service within the registry.
Constructor Summary | |
ServiceTranslator()
|
Method Summary | |
java.lang.Object |
translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue)
Returns null if the input is null or empty. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceTranslator()
Method Detail |
public java.lang.Object translate(Module contributingModule, java.lang.Class propertyType, java.lang.String inputValue)
translate
in interface Translator
contributingModule
- the module from which the input value originatespropertyType
- the type of the property to be assigned by this translator; smart translators may
be able to automatically convert from string to the correct typeinputValue
- the value to be translated, either an attribute value or the content of the element
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |