Well, you have to use Abdera Parser and Writer classes, you can find some examples into the examples module. I endorse you some lines:
Abdera abdera = new Abdera(); Parser parser = abdera.getParser(); ParserOptions options = parser.getDefaultParserOptions(); Document<Feed> feed = parser.parse(inputStream, baseUri, options); abdera.getWriterFactory().getWriter().writeTo(feed, System.out); Regards On Tue, Jul 22, 2008 at 9:19 PM, Enes Fazli <[EMAIL PROTECTED]> wrote: > Hello David, > > thank you for your advice. Creating a feed object alone does not solve my > problem but it is a good step in the right direction. To be more specific, > now that I have the feed object I need a method to write the xml markup to > a > string. A way to parse the feed object to the actual xml markup stored in a > string. Is this possible with Abdera? > > Thank you in advance for any advice to this topic. > > With regards, > > Enes Fazli > > On Tue, Jul 22, 2008 at 3:35 PM, David Calavera <[EMAIL PROTECTED]> > wrote: > > > Hi Enes, take a look at the parse module, that's what you need in order > to > > create Feed objects. You can see some examples in the wiki: > > > > > > > http://cwiki.apache.org/confluence/display/ABDERA/Creating+and+Consuming+Atom+Documents > > > > On Tue, Jul 22, 2008 at 2:44 PM, Enes Fazli <[EMAIL PROTECTED]> > > wrote: > > > > > Hello everybody, > > > > > > as the subject says, I want to use Abdera without implementing a > servlet. > > > My > > > requirements are to create Feeds and to get the resulting XML as a > > string. > > > > > > I looked at the AbderaServlet, AbstractEntityCollectionAdapter, > > > DefaultProvider and SimpleWorkspaceInfo() classes but wasn't able to > find > > > the right methods to accomplish my requirements. > > > > > > Is there a way to implement my requirements with Abdera? > > > > > > With regards, > > > > > > Enes Fazli > > > > > > > > > > > -- > > David Calavera > > http://www.thinkincode.net > > > -- David Calavera http://www.thinkincode.net
