Class ConfigurationParser

java.lang.Object
org.mybatis.generator.config.xml.ConfigurationParser

public class ConfigurationParser extends Object
  • Constructor Details

    • ConfigurationParser

      public ConfigurationParser(List<String> warnings)
    • ConfigurationParser

      public ConfigurationParser(Properties extraProperties, List<String> warnings)
      This constructor accepts a properties object which may be used to specify an additional property set. Typically this property set will be Ant or Maven properties specified in the build.xml file or the POM.

      If there are name collisions between the different property sets, they will be resolved in this order:

      1. System properties take highest precedence
      2. Properties specified in the <properties> configuration element are next
      3. Properties specified in this "extra" property set are lowest precedence.
      Parameters:
      extraProperties - an (optional) set of properties used to resolve property references in the configuration file
      warnings - any warnings are added to this array
  • Method Details