Class PropertyFilterFormatter

  • All Implemented Interfaces:
    Formatter<PropertyFilter>

    public class PropertyFilterFormatter
    extends Object
    implements Formatter<PropertyFilter>
    Formatter for PropertyFilter items. This will create a more readable representation of the property filter than the PropertyFilter.toString() method. It knows about some special properties and load the names of annotation types, item subtypes, etc instead of just displaying their ID values.
    Since:
    3.5
    Author:
    Nicklas
    • Field Detail

      • tagElements

        private final boolean tagElements
    • Constructor Detail

      • PropertyFilterFormatter

        public PropertyFilterFormatter​(DbControl dc,
                                       Formatter<Date> dateFormatter)
        Create a new formatter.
      • PropertyFilterFormatter

        public PropertyFilterFormatter​(DbControl dc,
                                       Formatter<Date> dateFormatter,
                                       boolean tagElements)
        Create a new formatter with option to create HTML-like tags around elements. The following tags are used: <value>, <name>, <operator>, <function>
        Since:
        3.13.1