Top Constructors Methods
liquibase.parser.core.xml

public abstract Class AbstractChangeLogParser

extends Object
implements ChangeLogParser
Class Inheritance
All Implemented Interfaces
liquibase.parser.ChangeLogParser, liquibase.parser.LiquibaseParser, liquibase.servicelocator.PrioritizedService
Known Direct Subclasses
liquibase.parser.core.xml.XMLChangeLogSAXParser
Imports
liquibase.changelog.ChangeLogParameters, .DatabaseChangeLog, liquibase.exception.ChangeLogParseException, liquibase.parser.ChangeLogParser, liquibase.parser.core.ParsedNode, liquibase.resource.ResourceAccessor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public DatabaseChangeLog
parse(String
the physical location of the changelog. The exact file formats and locations where can load changelog files from depend on the implementations and capabilities of the implementing parsers.
physicalChangeLogLocation
,
ChangeLogParameters
parameters given by the end user that should be applied while parsing the changelog (i.e. replacement of ${placeholders} inside the changelogs with user-defined content)
changeLogParameters
,
ResourceAccessor
a Java resource accessor
resourceAccessor
)

Implements liquibase.parser.ChangeLogParser.parse.

Parses a Liquibase database changelog and returns the parsed form as an object.

protected abstract ParsedNode
parseToNode(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractChangeLogParserback to summary
public AbstractChangeLogParser()

Method Detail

parseback to summary
public DatabaseChangeLog parse(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) throws ChangeLogParseException

Implements liquibase.parser.ChangeLogParser.parse.

Doc from liquibase.parser.ChangeLogParser.parse.

Parses a Liquibase database changelog and returns the parsed form as an object.

Parameters
physicalChangeLogLocation:String

the physical location of the changelog. The exact file formats and locations where can load changelog files from depend on the implementations and capabilities of the implementing parsers.

changeLogParameters:ChangeLogParameters

parameters given by the end user that should be applied while parsing the changelog (i.e. replacement of ${placeholders} inside the changelogs with user-defined content)

resourceAccessor:ResourceAccessor

a Java resource accessor

Returns:DatabaseChangeLog

the parsed ChangeLog in object form

Annotations
@Override
Exceptions
ChangeLogParseException:
if an error occurs during parsing of the ChangeLog
parseToNodeback to summary
protected abstract ParsedNode parseToNode(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) throws ChangeLogParseException