Not at present, though I'd like to add this - it's something I've been forced to workaround myself several times. You *can* use a static constant in the class if it's an output-only binding, but that's obviously not a solution that'll work in most cases.

 - Dennis

Tilman Linden wrote:

hi,

is there a way to include constant values into the binding definition
like:

<value style="attribute" name="whatever" _const_="a_constant_value"/>

or can i retrieve such a value from a different object than the context
object? maybe from a static method:

<mapping name="A" type="AClass">
 <value style="attribute" name="whatever"
get-method="Constants.getWhatever"/>
 .....
</mapping>

i am again trying to work around the binding of
xsi:noNamespaceSchemaLocation attributes and the likes... any thoughts
are much appreciated.

regards,

tilman



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to