private void processCalcomps(final JsonParser parser, final BuildState bs) throws ParserException { arrayStart(parser); while (!testArrayEnd(parser)) { processComponent(parser, bs); } }
private void processParameters(final JsonParser parser, final BuildState bs) throws ParserException { objectStart(parser); while (!testObjectEnd(parser)) { processParameter(parser, bs); } }
/** True if it's a vcalendar property * * @return boolean */ public boolean getVcalendarProperty() { return index.getVcalendarProperty(); }
private void processProperties(final JsonParser parser, final BuildState bs) throws ParserException { arrayStart(parser); while (!testArrayEnd(parser)) { processProperty(parser, bs); } }
private void processCalcomps(final BaseComponentType c, final BuildState bs) throws Throwable { List<JAXBElement<? extends BaseComponentType>> comps = XcalUtil.getComponents(c); if (comps == null) { return; } for (JAXBElement<? extends BaseComponentType> el: comps) { processComponent(el.getValue(), bs); } }
private void processVcalendar(final JsonParser parser, final BuildState bs) throws ParserException { bs.getContentHandler().startCalendar(); /* Properties first */ processProperties(parser, bs); /* Now components */ processCalcomps(parser, bs); }
/** * CREATED * * @return value */ public String getCreated() { return getPval(Property.CREATED); }
/** * @return true if it's a freebusy property */ public boolean getFreebusyProperty() { return index.getFreeBusyProperty(); //freebusyProperty; }
/** True if it's a journal property * * @return boolean */ public boolean getJournalProperty() { return index.getJournalProperty(); }
/** True if it's a vpoll property * * @return boolean */ public boolean getVpollProperty() { return index.getVpollProperty(); }
/** * @return true if it's an event property */ public boolean getEventProperty() { return index.getEventProperty(); //eventProperty; }
/** True if it's a timezone property * * @return boolean */ public boolean getTimezoneProperty() { return index.getTimezoneProperty(); }
/** True if it's an alarm property * * @return boolean */ public boolean getAlarmProperty() { return index.getAlarmProperty(); }
/** * @param cal * @param pattern - allows specification of a subset to be returned. * @return icalendar in XML * @throws Throwable */ public static IcalendarType fromIcal(final Calendar cal, final BaseComponentType pattern, final boolean wrapXprops) throws Throwable { return fromIcal(cal, pattern, false, wrapXprops); }
/** True if it's a vavailability property * * @return boolean */ public boolean getVavailabilityProperty() { return index.getVavailabilityProperty(); }
private void arrayStart(final JsonParser parser) throws ParserException { expectToken(parser, JsonToken.START_ARRAY, "Expected array start"); }
/** * TRANSP * * @return value */ public String getTransp() { return getPval(Property.TRANSP); }
/** True if it's a freebusy property * * @return boolean */ public boolean getFreeBusyProperty() { return index.getFreeBusyProperty(); }
/** * UID * * @return value */ public String getUid() { return getPval(Property.UID); }