Class DatalogRuleValidator

java.lang.Object
fr.inria.rules.integraal.util.validator.rule.DatalogRuleValidator
All Implemented Interfaces:
Validator<FORule>

public class DatalogRuleValidator extends Object implements Validator<FORule>
Validates that a rule is a Datalog rule.
Author:
Florent Tornil Checks that the rule is datalog
  • Constructor Details

    • DatalogRuleValidator

      public DatalogRuleValidator()
      Creates the Datalog-rule validator.
  • Method Details

    • check

      public boolean check(FORule element)
      Description copied from interface: Validator
      Checks whether the supplied element satisfies this validator.
      Specified by:
      check in interface Validator<FORule>
      Parameters:
      element - element to check
      Returns:
      true iff the element respect a implementation defined property