Package org.liquigraph.core.io.xml
Class XmlSchemaValidator
- java.lang.Object
-
- org.liquigraph.core.io.xml.XmlSchemaValidator
-
public class XmlSchemaValidator extends Object
-
-
Constructor Summary
Constructors Constructor Description XmlSchemaValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>validateSchema(Node changelog)Validate the fully resolved changelog containing all migrations
-
-
-
Method Detail
-
validateSchema
public Collection<String> validateSchema(Node changelog)
Validate the fully resolved changelog containing all migrations- Parameters:
changelog- DOM node holding the changelog- Returns:
- validation error messages
- Throws:
IllegalArgumentException- if there is am XML validation error
-
-