public class LiquibaseEntityResolver extends Object implements EntityResolver2
Constructor and Description |
---|
LiquibaseEntityResolver() |
Modifier and Type | Method and Description |
---|---|
InputSource |
getExternalSubset(String name,
String baseURI) |
protected ClassLoader |
getSearchClassloader() |
InputSource |
resolveEntity(String publicId,
String systemId) |
InputSource |
resolveEntity(String name,
String publicId,
String baseURI,
String systemId) |
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.
|
public InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException
resolveEntity
in interface EntityResolver2
SAXException
IOException
protected ClassLoader getSearchClassloader()
public InputSource getExternalSubset(String name, String baseURI) throws SAXException, IOException
getExternalSubset
in interface EntityResolver2
SAXException
IOException
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity
in interface EntityResolver
SAXException
IOException
public void setShouldWarnOnMismatchedXsdVersion(boolean shouldWarnOnMismatchedXsdVersion)
Copyright © 2023 Liquibase.org. All rights reserved.