public class XmlIcalCompare extends Object
For this to work, and for updates to be applicable, we need well defined rules determining how we match components. For example, an event is matched if the UID and RECURRENCE-ID matches.
This is a little more difficult for some components which don't have a uid, alarms for example.
| Modifier and Type | Field and Description |
|---|---|
static List<Object> |
defaultSkipList |
protected org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
XmlIcalCompare(List<? extends Object> skippedEntities,
XcalUtil.TzGetter tzs)
The skippedEntities allow the diff process to ignore components,
properties and/or parameters that should not take part in the comparison.
|
| Modifier and Type | Method and Description |
|---|---|
org.oasis_open.docs.ws_calendar.ns.soap.ComponentSelectionType |
diff(ietf.params.xml.ns.icalendar_2.IcalendarType newval,
ietf.params.xml.ns.icalendar_2.IcalendarType oldval)
Compare the parameters.
|
public XmlIcalCompare(List<? extends Object> skippedEntities, XcalUtil.TzGetter tzs)
Populate the list with empty icalendar objects.
skippedEntities - Objects of the class that should be skippedtzs - public org.oasis_open.docs.ws_calendar.ns.soap.ComponentSelectionType diff(ietf.params.xml.ns.icalendar_2.IcalendarType newval,
ietf.params.xml.ns.icalendar_2.IcalendarType oldval)
newval - oldval - Copyright © 2016 Bedework. All rights reserved.