Class SaxParserFactoryInjectionProvider
java.lang.Object
org.glassfish.jersey.jaxb.internal.SaxParserFactoryInjectionProvider
- All Implemented Interfaces:
Supplier<SAXParserFactory>
Thread-scoped injection provider of
SAX parser factories.
If MessageProperties.XML_SECURITY_DISABLE is not set,
the SecureSaxParserFactory is returned. By default, the http://apache.org/xml/features/disallow-doctype-decl
feature is set to TRUE. To override this settings, it is possible to register the
FeatureSupplier.allowDoctypeDeclFeature().- Author:
- Paul Sandoz, Marek Potociar, Martin Matula
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSaxParserFactoryInjectionProvider(InjectionManager injectionManager, Configuration config) Create new SAX parser factory provider. -
Method Summary
-
Constructor Details
-
SaxParserFactoryInjectionProvider
@Inject public SaxParserFactoryInjectionProvider(@Context InjectionManager injectionManager, @Context Configuration config) Create new SAX parser factory provider.- Parameters:
config- Jersey configuration properties.
-
-
Method Details
-
get
-