the xml contains:
<rc ix=”attr1″>value1</rc>
<rc ix=”attr2″>value2</rc>
and the bean has 2 properties:
String prop1;
String prop2;
Does anyone know how can i map this in a .betwixt file?
Also i can only use betwixt…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Something in that sense. Betwixt has a nasty habit of not warning you about errors. To ensure you get the debug log set the log level on betwixt to
TRACEorINFO.Furthermore you must ensure all properties/attributes have
publicgetters and setters with no side-effects. If they areprotectedor anything less visible, they will simply be ignored.The naming convention for the getters and setters is the standard Java convention. In other words boolean getters/setters are allowed to be called
isSomeBooleanValueandsetSomeBooleanValue.Betwixt is very picky and has not been supported since ’08 I think, if you can, switch to JAXB or similar.