public class LiquibaseEntityResolver extends Object implements EntityResolver2
| Constructor and Description |
|---|
LiquibaseEntityResolver() |
| Modifier and Type | Method and Description |
|---|---|
InputSource |
getExternalSubset(String name,
String baseURI) |
protected ResourceAccessor |
getFallbackResourceAccessor()
ResourceAccessor to use if the standard one does not have the XSD files in it.
|
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 EntityResolver2SAXExceptionIOExceptionprotected ResourceAccessor getFallbackResourceAccessor()
public InputSource getExternalSubset(String name, String baseURI) throws SAXException, IOException
getExternalSubset in interface EntityResolver2SAXExceptionIOExceptionpublic InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity in interface EntityResolverSAXExceptionIOExceptionpublic void setShouldWarnOnMismatchedXsdVersion(boolean shouldWarnOnMismatchedXsdVersion)
Copyright © 2022 Liquibase.org. All rights reserved.