public static final class AbstractLoader.LoadExternalDtdFeatureProvider extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ENABLE_EXTERNAL_DTD_LOAD
System property name to enable external DTD load.
|
Modifier and Type | Method and Description |
---|---|
static void |
setFeaturesBySystemProperty(SAXParserFactory factory)
Configures SAXParserFactory with features required
to use external DTD file loading, this is not activated by default to no allow
usage of schema files that checkstyle do not know
it is even security problem to allow files from outside.
|
public static final String ENABLE_EXTERNAL_DTD_LOAD
public static void setFeaturesBySystemProperty(SAXParserFactory factory) throws SAXException, ParserConfigurationException
factory
- factory to be configured with special featuresSAXException
- if an error occursParserConfigurationException
- if an error occursCopyright © 2001–2023. All rights reserved.