Hello, I'm using succesfully jibx to marshall an object graph. It requires a custom marshaller as my XML makes references to elements comming next in XML (backFillReference) : <model> <table name="TABLE_1"> <relation name="RELATION_1"> <target ref="TABLE_2"/> </relation> </table> <table name="TABLE_2"/> </model> This works fine using this element based syntax. I now would like to use an attribute based syntax, something like this : <model> <table name="TABLE_1"> <relation name="RELATION_1" target="TABLE_2"/> </table> <table name="TABLE_2"/> </model> It seems the marshaller/unmarshaller attributes are not allowed on <value> element. Only serializer/deserializer can be set, but I can't register a backFillReference from a serializer as it doesn't have access to the UnmarshallingContext. Is there any solution to register backFillReference from a deserializer OR use a unmarshaller with <value> ? Nico.
|
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users