Class AbstractFilter
- java.lang.Object
-
- org.bedework.synch.shared.filters.AbstractFilter
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDifferSkipItems(List<Object> skipList)Called to add items to the skip list for the ical differ.protected voidaddSkip(Map<String,Object> skipMap, Object o)org.bedework.util.logging.BwLoggergetLogger()protected Map<String,Object>getStripMap()voidinit(Subscription sub)Initialise the filter.protected ietf.params.xml.ns.icalendar_2.IcalendarTypestripIcal(ietf.params.xml.ns.icalendar_2.IcalendarType val)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, warn
-
-
-
-
Field Detail
-
sub
protected Subscription sub
-
icalOf
protected static final ietf.params.xml.ns.icalendar_2.ObjectFactory icalOf
-
-
Method Detail
-
init
public void init(Subscription sub) throws SynchException
Initialise the filter.- Specified by:
initin interfaceFilter- Parameters:
sub- the subscription- Throws:
SynchException
-
addDifferSkipItems
public void addDifferSkipItems(List<Object> skipList) throws SynchException
Description copied from interface:FilterCalled to add items to the skip list for the ical differ.- Specified by:
addDifferSkipItemsin interfaceFilter- Parameters:
skipList- list of items to skip - properties parameters etc- Throws:
SynchException- on fatal error
-
getStripMap
protected Map<String,Object> getStripMap() throws SynchException
- Throws:
SynchException
-
stripIcal
protected ietf.params.xml.ns.icalendar_2.IcalendarType stripIcal(ietf.params.xml.ns.icalendar_2.IcalendarType val) throws SynchException- Throws:
SynchException
-
getLogger
public org.bedework.util.logging.BwLogger getLogger()
- Specified by:
getLoggerin interfaceorg.bedework.util.logging.Logged
-
-