public Element toXml(Document document) { return delegatee.toXml(document); }
public boolean eventsProvideNoLocalFlag() { return delegatee.eventsProvideNoLocalFlag(); } }
public boolean eventsProvideNodeTypeInformation() { return delegatee.eventsProvideNodeTypeInformation(); }
.getValue(); if (subs.length == 1) { this.remoteServerProvidesNodeTypes = subs[0].eventsProvideNodeTypeInformation(); this.remoteServerProvidesNoLocalFlag = subs[0].eventsProvideNoLocalFlag();
/** * * @param subscription * @throws IOException * @see org.apache.jackrabbit.webdav.observation.ObservationDavServletResponse#sendSubscriptionResponse(org.apache.jackrabbit.webdav.observation.Subscription) */ public void sendSubscriptionResponse(Subscription subscription) throws IOException { String id = subscription.getSubscriptionId(); if (id != null) { Header h = new CodedUrlHeader(ObservationConstants.HEADER_SUBSCRIPTIONID, id); httpResponse.setHeader(h.getHeaderName(), h.getHeaderValue()); } DavPropertySet propSet = new DavPropertySet(); propSet.add(new SubscriptionDiscovery(subscription)); sendXmlResponse(propSet, SC_OK); }
.getValue(); if (subs.length == 1) { this.remoteServerProvidesNodeTypes = subs[0].eventsProvideNodeTypeInformation(); this.remoteServerProvidesNoLocalFlag = subs[0].eventsProvideNoLocalFlag();
/** * * @param subscription * @throws IOException * @see org.apache.jackrabbit.webdav.observation.ObservationDavServletResponse#sendSubscriptionResponse(org.apache.jackrabbit.webdav.observation.Subscription) */ public void sendSubscriptionResponse(Subscription subscription) throws IOException { String id = subscription.getSubscriptionId(); if (id != null) { Header h = new CodedUrlHeader(ObservationConstants.HEADER_SUBSCRIPTIONID, id); httpResponse.setHeader(h.getHeaderName(), h.getHeaderValue()); } DavPropertySet propSet = new DavPropertySet(); propSet.add(new SubscriptionDiscovery(subscription)); sendXmlResponse(propSet, SC_OK); }
/** * Returns the Xml representation of the subscription discovery. * * @return Xml representation * @see org.apache.jackrabbit.webdav.xml.XmlSerializable#toXml(Document) * @param document */ @Override public Element toXml(Document document) { Element elem = getName().toXml(document); for (Subscription subscription : subscriptions) { elem.appendChild(subscription.toXml(document)); } return elem; }
/** * * @param subscription * @throws IOException * @see org.apache.jackrabbit.webdav.observation.ObservationDavServletResponse#sendSubscriptionResponse(org.apache.jackrabbit.webdav.observation.Subscription) */ public void sendSubscriptionResponse(Subscription subscription) throws IOException { String id = subscription.getSubscriptionId(); if (id != null) { Header h = new CodedUrlHeader(ObservationConstants.HEADER_SUBSCRIPTIONID, id); httpResponse.setHeader(h.getHeaderName(), h.getHeaderValue()); } DavPropertySet propSet = new DavPropertySet(); propSet.add(new SubscriptionDiscovery(subscription)); sendXmlResponse(propSet, SC_OK); }
/** * Returns the Xml representation of the subscription discovery. * * @return Xml representation * @see org.apache.jackrabbit.webdav.xml.XmlSerializable#toXml(Document) * @param document */ public Element toXml(Document document) { Element elem = getName().toXml(document); for (int i = 0; i < subscriptions.length; i++) { elem.appendChild(subscriptions[i].toXml(document)); } return elem; }
/** * Returns the Xml representation of the subscription discovery. * * @return Xml representation * @see org.apache.jackrabbit.webdav.xml.XmlSerializable#toXml(Document) * @param document */ @Override public Element toXml(Document document) { Element elem = getName().toXml(document); for (Subscription subscription : subscriptions) { elem.appendChild(subscription.toXml(document)); } return elem; }