use of ietf.params.xml.ns.icalendar_2.ArrayOfParameters in project bw-calendar-engine by Bedework.
the class Xutil method xparam.
/**
* Convert a parameter
* @param prop - parameters go here
* @param xp - a parameter
* @throws Throwable
*/
protected static void xparam(final BasePropertyType prop, final Xpar xp) throws Throwable {
ArrayOfParameters aop = prop.getParameters();
if (aop == null) {
aop = new ArrayOfParameters();
prop.setParameters(aop);
}
if (xp.getName().equalsIgnoreCase("tzid")) {
final TzidParamType tz = new TzidParamType();
tz.setText(xp.getValue());
aop.getBaseParameter().add(of.createTzid(tz));
return;
}
}
Aggregations