Hi all,

Given an element like this:

<element attrA="a" attrB="b" unmappedAttrX="x" unmappedAttrY="y">10</element>

(being "unmappedAttrX", "unmappedAttrY"  a set of attributes not
mapped by the binding definition), I would like to fill in the following class:

class element {
  String value;  /* 10 */
  String attrA;  /* a */
  String attrB;  /* b */
  HashMap<String, String> unmappedAttributes;
}

where the map contains name/value pairs of those attributes not
explicitly mapped at the binding file ( {"unmappedAttrX", "x",
"unmappedAttrY", "y"} ).

Is this possible ? Do I need to build a custom unmarshaller?

Thanks in advance

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to