Package org.liquigraph.core.io.xml
Class ChangelogParser
- java.lang.Object
-
- org.liquigraph.core.io.xml.ChangelogParser
-
public final class ChangelogParser extends Object
-
-
Constructor Summary
Constructors Constructor Description ChangelogParser(XmlSchemaValidator validator, ChangelogPreprocessor preprocessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Changeset>parse(ChangelogLoader changelogLoader, String masterChangelog)Parses amasterChangelogXML file from the specified classloader, to aChangelogobject.
-
-
-
Constructor Detail
-
ChangelogParser
public ChangelogParser(XmlSchemaValidator validator, ChangelogPreprocessor preprocessor)
-
-
Method Detail
-
parse
public Collection<Changeset> parse(ChangelogLoader changelogLoader, String masterChangelog)
Parses amasterChangelogXML file from the specified classloader, to aChangelogobject.- Parameters:
changelogLoader- The changelog loader which loads the masterChangelogmasterChangelog- Filename of the master changelog- Returns:
- A
Changelogobject that correspond to the XML file - Throws:
IllegalArgumentException- if there is an error during the conversion
-
-