/** * Declares the g: extension. */ @Override public void declareExtensions(ExtensionProfile extProfile) { // Declare arbitrary XML support for the feed instances, so any // extensions not explicitly declared in the profile will be captured. extProfile.declareArbitraryXmlExtension(GoogleBaseFeed.class); extProfile.declareFeedExtension(GoogleBaseAttributesExtension.DESCRIPTION); super.declareExtensions(extProfile); } }
/** * Declares the g: extension. */ @Override public void declareExtensions(ExtensionProfile extProfile) { // Declare arbitrary XML support for the feed instances, so any // extensions not explicitly declared in the profile will be captured. extProfile.declareArbitraryXmlExtension(GoogleBaseFeed.class); extProfile.declareFeedExtension(GoogleBaseAttributesExtension.DESCRIPTION); super.declareExtensions(extProfile); } }
@Override public void declareExtensions(ExtensionProfile extProfile) { super.declareExtensions(extProfile); extProfile.declareFeedExtension(YtPrivate.class); extProfile.declareFeedExtension(YouTubeMediaGroup.class); extProfile.declare(PlaylistFeed.class, YtPlaylistId.class); new YouTubeMediaGroup().declareExtensions(extProfile); BatchUtils.declareExtensions(extProfile); }
@Override public void declareExtensions(ExtensionProfile extProfile) { super.declareExtensions(extProfile); extProfile.declareFeedExtension(YtPrivate.class); extProfile.declareFeedExtension(YouTubeMediaGroup.class); extProfile.declare(PlaylistFeed.class, YtPlaylistId.class); new YouTubeMediaGroup().declareExtensions(extProfile); BatchUtils.declareExtensions(extProfile); }
/** * Declares the g: extension into the extension profile, both for feeds * and for entries. * * @param extProfile extension profile */ public static void declareGExtensions(ExtensionProfile extProfile) { extProfile.declareEntryExtension(GoogleBaseAttributesExtension.DESCRIPTION); extProfile.declareFeedExtension(GoogleBaseAttributesExtension.DESCRIPTION); ExtensionDescription feedLinkExtDesc = ExtensionDescription.getDefaultDescription(FeedLink.class); feedLinkExtDesc.setRepeatable(true); extProfile.declare(GoogleBaseEntry.class, feedLinkExtDesc); }
/** * Declares the g: extension into the extension profile, both for feeds * and for entries. * * @param extProfile extension profile */ public static void declareGExtensions(ExtensionProfile extProfile) { extProfile.declareEntryExtension(GoogleBaseAttributesExtension.DESCRIPTION); extProfile.declareFeedExtension(GoogleBaseAttributesExtension.DESCRIPTION); ExtensionDescription feedLinkExtDesc = ExtensionDescription.getDefaultDescription(FeedLink.class); feedLinkExtDesc.setRepeatable(true); extProfile.declare(GoogleBaseEntry.class, feedLinkExtDesc); }