ORMapper that I use extends some of its own attributse all objects that mapped, now I need to generate XML from objects, but I don't want to generate information about my ORMapper related objects开发者_Go百科, so how can I exclude ORMapper related classes from being generated to XML?
Take a look here, go to section Ignoring Properties.
By the way, is there any particular reason you are using Betwixt? May be the app is already using that, thats fair enough. But I am just afraid if you are starting to use it in some application. Because thats pretty much frozen already. Try looking at alternatives XStream, or Simple.
See here, the "Ignoring properties" section
精彩评论