Search in sources :

Example 1 with AltrepParamType

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;
}
Also used : AltrepParamType(ietf.params.xml.ns.icalendar_2.AltrepParamType) ArrayOfParameters(ietf.params.xml.ns.icalendar_2.ArrayOfParameters)

Aggregations

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