Package org.glassfish.jersey.jaxb
Interface FeatureSupplier
This supplier is used to set the features on the instances of the supported classes:
  using one of the methods:
 
- Since:
 - 2.31
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic FeatureSupplierSupply a feature that disables disallow-doctype-decl feature and allows the ENTITY in the xml DOCTYPE.The feature set to be applied.booleanDefine whether the feature set is for the instances of the given class. 
- 
Method Details
- 
isFor
Define whether the feature set is for the instances of the given class.- Parameters:
 factoryClass- the class for which instance the feature set is to be applied.- Returns:
 - true if this contract implementation is for the given class.
 
 - 
getFeatures
The feature set to be applied.- Returns:
 - the feature set 
Mapwith keys andBooleanvalues. 
 - 
allowDoctypeDeclFeature
Supply a feature that disables disallow-doctype-decl feature and allows the ENTITY in the xml DOCTYPE. Registering this feature will override the settings of the secureSAXParserFactory.- Returns:
 - A feature that sets 
http://apache.org/xml/features/disallow-doctype-declfeature to false. 
 
 -