This was one of the things that I initially knew what I wanted to do but never got around to quite making it elegant. The way you're doing it below is currently *the* way of doing it but it definitely can be improved.
- James Ugo Cei wrote: > Still talking to myself... looks like this code: > > Abdera abdera = new Abdera(); > Parser parser = abdera.getParser(); > ParserOptions options = parser.getDefaultParserOptions(); > options.setFactory(new RSSFOMFactory(abdera)); > Document<Feed> doc = parser.parse(in, null, options); > > does what I expect, which is nice, but I still wonder which one is the > right way to extend Abdera. > > Ugo > > > > --Ugo Cei > Blog: http://agylen.com/ > Open Source Zone: http://oszone.org/ > Evil or Not?: http://evilornot.info/ > Company: http://www.sourcesense.com/ > > >
