use of ietf.params.xml.ns.icalendar_2.AltrepParamType in project bw-calendar-engine by Bedework.
the class Xutil method altrepProp.
protected static BasePropertyType altrepProp(final BasePropertyType prop, final String val) {
if (val == null) {
return prop;
}
final ArrayOfParameters pars = getAop(prop);
final AltrepParamType a = new AltrepParamType();
a.setUri(val);
final JAXBElement<AltrepParamType> param = of.createAltrep(a);
pars.getBaseParameter().add(param);
return prop;
}
Aggregations