It actually already is. There is a method on Factory for creating a new UUID URI. That's what we should be using.
- James Garrett Rooney wrote: > On 11/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >> + <pre>String start = "http://roller.example.org/app"; >> + >> +Abdera abdera = new Abdera(); >> +Factory factory = abdera.getFactory(); >> +Entry entry = factory.newEntry(); >> +entry.setId(FOMHelper.generateUuid()); > > It occurs to me that this is the second time that I've seen > FOMHelper.generateUuid() used in some example code. Perhaps we should > consider moving it to a less parser-impl-specific location, since it > seems generally useful. > > -garrett >
