abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: Using Abdera with Java 1.4
Date Sat, 16 Sep 2006 00:51:27 GMT
This should do it.

  Document doc = Parser.INSTANCE.parse(in, uri);
  Entry entry = (Entry)doc.getRoot();

- James

Michael Wechner wrote:
> Hi
> 
> Unfortunately I cannot use Java 1.5 within my environment and would like
> to use Abdera with Java 1.4, but how do I code
> 
> Document<Entry> doc = Parser.INSTANCE.parse(in, uri);
> 
> 
> with Java 1.4 (because AFAIK annotations are a 1.5 feature) such that I
> can make use of the entry methods?
> 
> Any pointer or help is very much appreciated.
> 
> Thanks
> 
> Michi
> 
> 

Mime
View raw message