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(InjectionManager injectionManager,
Configuration config)
Create new SAX parser factory provider.
|
@Inject public SaxParserFactoryInjectionProvider(@Context InjectionManager injectionManager, @Context Configuration config)
config - Jersey configuration properties.public SAXParserFactory get()
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.