Class PropRenameFilter

  • All Implemented Interfaces:
    Filter, org.bedework.util.logging.Logged
    Direct Known Subclasses:
    XCategoryFilter, XlocXContactFilter

    public abstract class PropRenameFilter
    extends AbstractFilter
    This filter takes a list of from, to duples. The from is a property name, the to is a new property name.

    We use this to rename properties, generally as x-properties.

    Author:
    douglm
    • Constructor Detail

      • PropRenameFilter

        public PropRenameFilter()
    • Method Detail

      • getNewProperty

        protected abstract ietf.params.xml.ns.icalendar_2.BasePropertyType getNewProperty​(PropRenameFilter.RenameElement rl,
                                                                                          javax.xml.bind.JAXBElement<? extends ietf.params.xml.ns.icalendar_2.BasePropertyType> el)
      • doFilter

        public ietf.params.xml.ns.icalendar_2.IcalendarType doFilter​(ietf.params.xml.ns.icalendar_2.IcalendarType val)
                                                              throws SynchException
        Throws:
        SynchException