Class SaxParserFactoryInjectionProvider

java.lang.Object
org.glassfish.jersey.jaxb.internal.SaxParserFactoryInjectionProvider
All Implemented Interfaces:
Supplier<SAXParserFactory>

public class SaxParserFactoryInjectionProvider extends Object
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 Details

    • SaxParserFactoryInjectionProvider

      @Inject public SaxParserFactoryInjectionProvider(@Context org.glassfish.jersey.internal.inject.InjectionManager injectionManager, @Context Configuration config)
      Create new SAX parser factory provider.
      Parameters:
      config - Jersey configuration properties.
  • Method Details