public class XMLChangeLogSAXParser extends AbstractChangeLogParser
Modifier and Type | Field and Description |
---|---|
static String |
LIQUIBASE_SCHEMA_VERSION |
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
Constructor and Description |
---|
XMLChangeLogSAXParser() |
Modifier and Type | Method and Description |
---|---|
int |
getPriority() |
protected SAXParserFactory |
getSaxParserFactory() |
static String |
getSchemaVersion() |
protected ParsedNode |
parseToNode(String physicalChangeLogLocation,
ChangeLogParameters changeLogParameters,
ResourceAccessor resourceAccessor) |
boolean |
supports(String changeLogFile,
ResourceAccessor resourceAccessor)
Checks if the file format is supported by an implementing ChangeLogParser and returns true if that is the case.
|
parse
public static final String LIQUIBASE_SCHEMA_VERSION
public int getPriority()
public static String getSchemaVersion()
public boolean supports(String changeLogFile, ResourceAccessor resourceAccessor)
ChangeLogParser
changeLogFile
- the location of the changelog fileresourceAccessor
- the resource accessorprotected SAXParserFactory getSaxParserFactory()
protected ParsedNode parseToNode(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) throws ChangeLogParseException
parseToNode
in class AbstractChangeLogParser
ChangeLogParseException
Copyright © 2021 Liquibase.org. All rights reserved.