Search in sources :

Example 1 with XBedeworkUidParamType

use of ietf.params.xml.ns.icalendar_2.XBedeworkUidParamType in project bw-calendar-engine by Bedework.

the class Xutil method uidProp.

protected static BasePropertyType uidProp(final BasePropertyType prop, final String uid) {
    if (uid == null) {
        return prop;
    }
    ArrayOfParameters pars = getAop(prop);
    XBedeworkUidParamType x = new XBedeworkUidParamType();
    x.setText(uid);
    JAXBElement<XBedeworkUidParamType> param = of.createXBedeworkUid(x);
    pars.getBaseParameter().add(param);
    return prop;
}
Also used : XBedeworkUidParamType(ietf.params.xml.ns.icalendar_2.XBedeworkUidParamType) ArrayOfParameters(ietf.params.xml.ns.icalendar_2.ArrayOfParameters)

Aggregations

ArrayOfParameters (ietf.params.xml.ns.icalendar_2.ArrayOfParameters)1 XBedeworkUidParamType (ietf.params.xml.ns.icalendar_2.XBedeworkUidParamType)1