/** * Sets that GData {@link Service} instance associated with this feed. */ public void setService(Service v) { feedState.service = v; // Propagate service information to nested entries for (Entry entry : getEntries()) { entry.setService(v); } }
/** * Sets that GData {@link Service} instance associated with this feed. */ public void setService(Service v) { feedState.service = v; // Propagate service information to nested entries for (Entry entry : getEntries()) { entry.setService(v); } }
/** * Sets that GData {@link Service} instance associated with this feed. */ public void setService(Service v) { feedState.service = v; // Propagate service information to nested entries for (Entry entry : getEntries()) { entry.setService(v); } }
/** * Creates a new entry for the feed. */ public <E extends Entry> E createEntry(ElementKey<?, E> entryKey) { E entry; try { entry = Element.createElement(entryKey); } catch (ContentCreationException cce) { throw new IllegalStateException(cce); } // Propagate the associated service (if any) if (feedState.service != null) { entry.setService(feedState.service); } return entry; }
/** * Creates a new entry for the feed. */ public <E extends Entry> E createEntry(ElementKey<?, E> entryKey) { E entry; try { entry = Element.createElement(entryKey); } catch (ContentCreationException cce) { throw new IllegalStateException(cce); } // Propagate the associated service (if any) if (feedState.service != null) { entry.setService(feedState.service); } return entry; }
/** * Creates a new entry for the feed. */ public <E extends Entry> E createEntry(ElementKey<?, E> entryKey) { E entry; try { entry = Element.createElement(entryKey); } catch (ContentCreationException cce) { throw new IllegalStateException(cce); } // Propagate the associated service (if any) if (feedState.service != null) { entry.setService(feedState.service); } return entry; }