/** * Constructs a new event feed instance that is initialized using data from * another base feed instance. * * @param entryClass event entry class * @param sourceFeed source feed */ public BaseEventFeed(Class<E> entryClass, BaseFeed<?, ?> sourceFeed) { super(entryClass, sourceFeed); getCategories().add(EventEntry.EVENT_CATEGORY); }
@Override public void declareExtensions(ExtensionProfile extProfile) { if (extProfile.isDeclared(CalendarEventFeed.class)) { return; } super.declareExtensions(extProfile); extProfile.declare(CalendarEventFeed.class, new ExtensionDescription(TimeZoneProperty.class, new XmlNamespace("gCal", "http://schemas.google.com/gCal/2005"), "timezone", true, false, false)); extProfile.declare(CalendarEventFeed.class, TimesCleanedProperty.class); }
@Override public void declareExtensions(ExtensionProfile extProfile) { if (extProfile.isDeclared(CalendarEventFeed.class)) { return; } super.declareExtensions(extProfile); extProfile.declare(CalendarEventFeed.class, new ExtensionDescription(TimeZoneProperty.class, new XmlNamespace("gCal", "http://schemas.google.com/gCal/2005"), "timezone", true, false, false)); extProfile.declare(CalendarEventFeed.class, TimesCleanedProperty.class); }
/** * Constructs a new event feed instance that is parameterized to contain event * entry instances. * * @param entryClass event entry class */ public BaseEventFeed(Class<E> entryClass) { super(entryClass); getCategories().add(EventEntry.EVENT_CATEGORY); }
@Override public void declareExtensions(ExtensionProfile extProfile) { if (extProfile.isDeclared(CalendarEventFeed.class)) { return; } super.declareExtensions(extProfile); extProfile.declare(CalendarEventFeed.class, new ExtensionDescription(TimeZoneProperty.class, new XmlNamespace("gCal", "http://schemas.google.com/gCal/2005"), "timezone", true, false, false)); extProfile.declare(CalendarEventFeed.class, TimesCleanedProperty.class); }
/** * Constructs a new event feed instance that is parameterized to contain event * entry instances. * * @param entryClass event entry class */ public BaseEventFeed(Class<E> entryClass) { super(entryClass); getCategories().add(EventEntry.EVENT_CATEGORY); }
/** * Constructs a new event feed instance that is parameterized to contain event * entry instances. * * @param entryClass event entry class */ public BaseEventFeed(Class<E> entryClass) { super(entryClass); getCategories().add(EventEntry.EVENT_CATEGORY); }
/** * Constructs a new event feed instance that is initialized using data from * another base feed instance. * * @param entryClass event entry class * @param sourceFeed source feed */ public BaseEventFeed(Class<E> entryClass, BaseFeed<?, ?> sourceFeed) { super(entryClass, sourceFeed); getCategories().add(EventEntry.EVENT_CATEGORY); }
/** * Constructs a new event feed instance that is initialized using data from * another base feed instance. * * @param entryClass event entry class * @param sourceFeed source feed */ public BaseEventFeed(Class<E> entryClass, BaseFeed<?, ?> sourceFeed) { super(entryClass, sourceFeed); getCategories().add(EventEntry.EVENT_CATEGORY); }