public class SaxParserFactoryInjectionProvider extends Object
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()
.FeatureSupplier
Constructor and Description |
---|
SaxParserFactoryInjectionProvider(org.glassfish.jersey.internal.inject.InjectionManager injectionManager,
javax.ws.rs.core.Configuration config)
Create new SAX parser factory provider.
|
@Inject public SaxParserFactoryInjectionProvider(@Context org.glassfish.jersey.internal.inject.InjectionManager injectionManager, @Context javax.ws.rs.core.Configuration config)
config
- Jersey configuration properties.public SAXParserFactory get()
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.