|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.webdav.observation.EventDiscovery
public class EventDiscovery
EventDiscovery represents the request body of a successful
POLL request. It reveals all events that occurred since the last POLL. The
definition what events that particular subscription is interested in was
specified with the initial SUBSCRIPTION that started the event listening.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
EventDiscovery()
|
|
| Method Summary | |
|---|---|
void |
addEventBundle(EventBundle eventBundle)
Add the Xml representation of an single 'eventBundle' listing the events that resulted from a change in the server, filtered by the restrictions present in the corresponding subscription. |
Iterator<EventBundle> |
getEventBundles()
Returns an iterator over the event bundles currently
present on this discovery. |
boolean |
isEmpty()
Returns true, if this event discovery does not report any events (thus getEventBundles() would return an empty iterator. |
Element |
toXml(Document document)
Returns the Xml representation of this EventDiscovery as
being present in the POLL response body. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventDiscovery()
| Method Detail |
|---|
public void addEventBundle(EventBundle eventBundle)
eventBundle - Subscriptionpublic Iterator<EventBundle> getEventBundles()
event bundles currently
present on this discovery.
public boolean isEmpty()
getEventBundles() would return an empty iterator.
getEventBundles() would return an empty iterator,
false otherwise.public Element toXml(Document document)
EventDiscovery as
being present in the POLL response body.
toXml in interface XmlSerializabledocument -
XmlSerializable.toXml(Document)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||