Class XMLChangeLogSAXParser

    • Field Detail

      • LIQUIBASE_SCHEMA_VERSION

        public static final String LIQUIBASE_SCHEMA_VERSION
    • Constructor Detail

      • XMLChangeLogSAXParser

        public XMLChangeLogSAXParser()
    • Method Detail

      • getPriority

        public int getPriority()
      • getSchemaVersion

        public static String getSchemaVersion()
      • supports

        public boolean supports​(String changeLogFile,
                                ResourceAccessor resourceAccessor)
        Description copied from interface: ChangeLogParser
        Checks if the file format is supported by an implementing ChangeLogParser and returns true if that is the case.
        Parameters:
        changeLogFile - the location of the changelog file
        resourceAccessor - the resource accessor
        Returns:
        true if the file format is supported, false if it is not.
      • setShouldWarnOnMismatchedXsdVersion

        public void setShouldWarnOnMismatchedXsdVersion​(boolean shouldWarnOnMismatchedXsdVersion)
        When set to true, a warning will be printed to the console if the XSD version used does not match the version of Liquibase. If "latest" is used as the XSD version, no warning is printed.