Hi all-I'm fairly new to JiBX and the tool is quite impressive. After some 
proof of concept work, I was able to decrease our serialization time by at 
least a factor of 10. So I am going ahead and working on replacing the present 
serialization solution with JiBX. Up until the issue that I am mentioning in 
this post, the work to migrate to JiBX has been relatively easy. The problem 
that I am now encountering is determining an appropriate binding file for a 
class that employs a java.util.enumset and an embedded enum. I have searched 
the mailing list but to no avail. Any help would be appreciate. Here is the 
class i'm trying to serialize.Thanks in 
advance-////////////////////STARTCODE////////////////////////////////import 
java.util.EnumSet;public abstract class AbstractPrivilege {    public 
EnumSet<ObjectNames> objectNames = EnumSet.noneOf(ObjectNames.class);    public 
abstract String getPrivilege();    /// Getters/Setters  ///    public 
EnumSet<ObjectNames> getObjectNames() {        return objectNames;    }    
public void setObjectNames(EnumSet<ObjectNames> objectNames) {        
this.objectNames = objectNames;    }    //////// Enums  ////////    public 
static enum ObjectNames {ACTION, ACTIONGROUP, TESTPROCEDURE,         TESTCASE, 
GLOBALPARAMETER, PROJECTSETTING, TESTRUN, TESTSUITE    
}}////////////////////ENDCODE//////////////////////////////////
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy! 
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to