Filtering events in the Java api is done by annotating the method with an EventHandler.Capability decorator. For example:
@Override @EventHandler.Capability( filter="\\[\\[.*\\]\\]", contexts={Context.ROOT} ) public void onDocumentChanged(DocumentChangedEvent event) { // No-op. } Thanks, -joe On Thu, Mar 11, 2010 at 2:40 AM, Fraser <fraser.ho...@googlemail.com> wrote: > I'm a bit unsure how to implement the filtering of events with the new > API in Java? > > > http://code.google.com/apis/wave/extensions/robots/events.html#EventFiltering > > Are there any examples of how to do this? > > -- > You received this message because you are subscribed to the Google Groups > "Google Wave API" group. > To post to this group, send email to google-wave-...@googlegroups.com. > To unsubscribe from this group, send email to > google-wave-api+unsubscr...@googlegroups.com<google-wave-api%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-wave-api?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-...@googlegroups.com. To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.