abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasudeva Nori" <vasun...@gmail.com>
Subject creating a writer
Date Sat, 03 May 2008 06:20:26 GMT
The following code fragment on Abdera's Extension web page shows a "json":
writer.
writer json = abdera.getWriterFactory().getWriter("json");
entry.writeTo(json, System.out);

is it possible to create a writer for "foo_format" and do the following

Writer json = abdera.getWriterFactory().getWriter("foo_format");
entry.writeTo(json, System.out);
If so, how does one "associate" foo_format writer to "foo_format"? any
pointer to doing this in abdera would be great.

thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message