commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kyle m <kylem...@hotmail.com>
Subject [betwixt] Parsing an array from a string
Date Tue, 03 Feb 2009 17:38:36 GMT

Class:
class Thing extends BaseClass
{
private String[] slots;
...
}

XML:
<Thing
        ...
        slots="lights_front_left,lights_front_right"
/>

I'd like Betwixt to read in the slots value and let me parse the string. I've tried ObjectStringConverters,
which seems to overlook the slots value all together, Rules, although I'm not sure if I was
using them right, and a handful of other solutions I cobbled together. Unfortunately nothing
panned out.

Does anybody have any suggestions?

Thanks!

_________________________________________________________________
Windows Live™ Hotmail®…more than just e-mail. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_howitworks_012009
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message