Add capability to read from entry's contentmasterrest-util
commit828c8a3befcc990f4a2d993faa5ce412f484eddc
authorImran M Yousuf <imyousuf@smartitengineering.com>
Sun, 1 Aug 2010 12:07:05 +0000 (1 18:07 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Sun, 1 Aug 2010 12:07:05 +0000 (1 18:07 +0600)
tree53216df91cb4d5a4a19d55df4527c1d6d1600801
parentb4a1c65acea5d1855a3e956a3b20b57d242949b9
Add capability to read from entry's content

As mentioned earlier we also wanted to be able to read content of an entry
and deserialize it to its entity.

We also did not want to keep any knowledge of how-to deserialize in our
system and thus introduced a stream based entity deserializer who will
know it or use some auto-deserializer.

With this change there are 2 constructors and thus the reader should be
initialized with care.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
rest/atom/src/main/java/com/smartitengineering/util/rest/atom/FeedEntryReader.java
rest/atom/src/main/java/com/smartitengineering/util/rest/atom/StreamBasedEntityDeserializer.java [new file with mode: 0644]