Hi,

I would like to define a configuration when you can have 3 fields name, input-name, converter

<schema>
<element name="parameter">
<attribute name="name" required="true">
name
</attribute>
<attribute name="input-name">
if not given it uses the original name
</attribute>
<attribute name="translator" translator="??????">
defines the translator class which is a standard hivemind translator
</attribute>
<rules>
</rules> </element>
</schema>


the idea is the following,
I need a service which can translates name=string; value=string into Objects (Integer, Long, String, Date ...)
and I would like to use the Translators already provided by Hivemind..


So I want to have a service which gets parameters about how to convert certain parameters (name) into Objects.

<contrubition configuration-id="MyConfig" >
<parameter name="firstname"> <!-- this is string so default translator -->
<parameter name="housnumber" translator="int">
............
</contrubition>


so how to deinfe in the SCHEMA element that in the XML I only acceppt 'hivemind translator'???????

Maybe it's little stupid, but I hope I made myself understood. :)

Thanks a lot

Istvano

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to