public final class SecurityUtils extends Object
Modifier and Type | Method and Description |
---|---|
static SAXSource |
createSecureSaxSource(String input)
Creates a
SAXSource with the security features turned on
for the input. |
@Nonnull public static final SAXSource createSecureSaxSource(String input) throws ParserConfigurationException, SAXException
SAXSource
with the security features turned on
for the input.input
- the string to be used to create the SAXSource
instanceSAXSource
instanceParserConfigurationException
- if a parser cannot
be created which satisfies the requested configuration.SAXNotRecognizedException
- When the underlying XMLReader does
not recognize the property EXTERNAL_GENERAL_ENTITIES.SAXException
Copyright © 2020. All Rights Reserved.