|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hivemind.schema.rules.ResourceTranslator
public class ResourceTranslator
Translator that converts the value to be a resource relative to the contributing module's deployment descriptor.
| Constructor Summary | |
|---|---|
ResourceTranslator()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
Finds the resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceTranslator()
| Method Detail |
|---|
public java.lang.Object translate(Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
Location location)
registry's locale.
translate in interface TranslatorcontributingModule - 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 elementlocation - the location of the inputValue; used to set the location of created objects,
or when reporting errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||