Class ItemTypeCheckingFunction

    • Constructor Detail

      • ItemTypeCheckingFunction

        public ItemTypeCheckingFunction​(ItemType requiredItemType,
                                        Supplier<RoleDiagnostic> roleSupplier,
                                        Location locator,
                                        Configuration config)
        Create the type-checking function
        Parameters:
        requiredItemType - the item type that all items in the sequence must conform to
        roleSupplier - information for error messages
        locator - the location of the expression for error messages
        config - the Saxon configuration