By the way, I too am having difficulty trying to traverse every blip
of a wave in Java.
My current approach of recursively searching through every blip with
blip.getDocument().getInlineBlips() and blip.getChildren() is not
completely successful. I seem to get only the first 2 out of 7
sequential Blips. Blip 3 is there, but it's content is not in the
object.
Here's the structure of my test Wave (all blips are sequential - no
inline blips):
message 1
--------
message 2
--------
message 2
--------
message 2
--------
message 5
Here's the one capability that I'm listening for:
<w:capability name="WAVELET_SELF_ADDED"
context="PARENT,SIBLINGS,CHILDREN" />
And here's the logging output from my Servlet:
getBlipId(): b+xIimGfd3C
getParentBlipId(): null
hasChildren(): Y
getLastModifiedTime(): Mon Nov 23 01:57:03 UTC 2009
getDocument().getText(): message 1
******
getBlipId(): b+xIimGfd3D
getParentBlipId(): b+xIimGfd3C
hasChildren(): Y
getLastModifiedTime(): Mon Nov 23 01:57:13 UTC 2009
getDocument().getText(): message 2
******
getBlipId(): b+xIimGfd3E
getParentBlipId(): b+xIimGfd3D
hasChildren(): N
getLastModifiedTime(): Wed Dec 31 23:59:59 UTC 1969
getDocument().getText():
It's possible I may be doing something wrong. I'd be happy to post my
code for review, if you guys have the patience to read it. :) If
someone could tell me if they are having similar issues trying to
traverse an entire Wave, that would be helpful too.
Thanks,
Stephen
--
You received this message because you are subscribed to the Google Groups
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-wave-api?hl=.