@Contract public interface FeatureSupplier
| Modifier and Type | Method and Description |
|---|---|
static FeatureSupplier |
allowDoctypeDeclFeature()
Supply a feature that disables disallow-doctype-decl feature and allows the ENTITY in the xml DOCTYPE.
|
Map<String,Boolean> |
getFeatures()
The feature set to be applied.
|
boolean |
isFor(Class<?> factoryClass)
Define whether the feature set is for the instances of the given class.
|
boolean isFor(Class<?> factoryClass)
factoryClass - the class for which instance the feature set is to be applied.Map<String,Boolean> getFeatures()
Map with keys and Boolean values.static FeatureSupplier allowDoctypeDeclFeature()
SAXParserFactory.http://apache.org/xml/features/disallow-doctype-decl feature to false.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.