Class ItemCompiler


  • public class ItemCompiler
    extends Object
    Author:
    Teodor Danciu (teodord@users.sourceforge.net)
    • Constructor Detail

      • ItemCompiler

        public ItemCompiler()
    • Method Detail

      • verifyItem

        public static void verifyItem​(JRVerifier verifier,
                                      Item item,
                                      String itemName,
                                      String[] requiredNames,
                                      Map<String,​String> alternativeNamesMap)
        Verifies if required properties or their alternatives are present in the item properties list. Alternative property names are read from the alternativeNamesMap parameter.
        For instance, a required latitude property can be provided either directly, using the latitude item property, or by processing the alternative address property. If at least one of the latitude or address properties are present in the item properties list, the latitude requirement is fulfilled.
        Parameters:
        verifier -
        item -
        itemName -
        requiredNames -
        alternativeNamesMap -