abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <ugo....@gmail.com>
Subject Re: Using a custom factory
Date Mon, 09 Oct 2006 12:43:42 GMT
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/



Mime
View raw message