@Override public void declareExtensions(ExtensionProfile extProfile) { delegate.declareExtensions(extProfile); super.declareExtensions(extProfile); }
/** * Inserts a new media resource into the feed, if the feed is currently * associated with a Service. * * @return the inserted media Entry returned by the Service. * * @throws ServiceException * If there is no associated GData service or the service is * unable to perform the insertion. * * @throws UnsupportedOperationException * If insert is not supported for the target feed. * * @throws IOException * If there is an error communicating with the GData service. */ public E insert(MediaSource media) throws ServiceException, IOException { return insert(media, entryClass); }
@Override public void generateRss(XmlWriter w, ExtensionProfile extProfile) throws IOException { // Add atom:link elements for next and previous. Link prevLink = getLink(Link.Rel.PREVIOUS, Link.Type.ATOM); Link nextLink = getLink(Link.Rel.NEXT, Link.Type.ATOM); if (prevLink != null) { delegate.addRepeatingExtension(new RssLink(prevLink)); } if (nextLink != null) { delegate.addRepeatingExtension(new RssLink(nextLink)); } super.generateRss(w, extProfile); }
CoreErrorDomain.ERR.entryNotAssociated); Link postLink = getEntryPostLink(); if (postLink == null) { throw new UnsupportedOperationException("Media cannot be inserted");
@Override public void generateRss(XmlWriter w, ExtensionProfile extProfile) throws IOException { // Add atom:link elements for next and previous. Link prevLink = getLink(Link.Rel.PREVIOUS, Link.Type.ATOM); Link nextLink = getLink(Link.Rel.NEXT, Link.Type.ATOM); if (prevLink != null) { delegate.addRepeatingExtension(new RssLink(prevLink)); } if (nextLink != null) { delegate.addRepeatingExtension(new RssLink(nextLink)); } super.generateRss(w, extProfile); }
CoreErrorDomain.ERR.entryNotAssociated); Link postLink = getEntryPostLink(); if (postLink == null) { throw new UnsupportedOperationException("Media cannot be inserted");
@Override public void declareExtensions(ExtensionProfile extProfile) { super.declareExtensions(extProfile); BatchUtils.declareExtensions(extProfile); }
/** * Inserts a new media resource into the feed, if the feed is currently * associated with a Service. * * @return the inserted media Entry returned by the Service. * * @throws ServiceException * If there is no associated GData service or the service is * unable to perform the insertion. * * @throws UnsupportedOperationException * If insert is not supported for the target feed. * * @throws IOException * If there is an error communicating with the GData service. */ public E insert(MediaSource media) throws ServiceException, IOException { return insert(media, entryClass); }
@Override public void declareExtensions(ExtensionProfile extProfile) { delegate.declareExtensions(extProfile); super.declareExtensions(extProfile); }
@Override public void declareExtensions(ExtensionProfile extProfile) { super.declareExtensions(extProfile); BatchUtils.declareExtensions(extProfile); }