You may find some of the code in the now-stagnant SourceForge Folio project useful. It has lots of enums defined, for example. It is MPL, but just let me know and I'll change the licence.
Peter West He said to them, "Come and see." On 10/11/2010, at 2:35 AM, bugzi...@apache.org wrote: > https://issues.apache.org/bugzilla/show_bug.cgi?id=50240 > > Summary: [PATCH] Upgrade to Java 1.5 - Converted EncodingMode > to an Enum > Product: Fop > Version: all > Platform: PC > OS/Version: Linux > Status: NEW > Severity: minor > Priority: P2 > Component: fonts > AssignedTo: fop-dev@xmlgraphics.apache.org > ReportedBy: med1...@gmail.com > > > Created an attachment (id=26272) > --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26272) > EncodingMode changed from class -> enum > > In light of the recent vote to convert to Java5, I have changed > o.a.f.fonts.EncodingMode.java to an enumerated type. I've also added a JUnit > test for this enum. I have tested this enum with various different fonts and > diffed them to ensure there are no differences. > > -- > Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are the assignee for the bug.