public final class XmlUtils extends Object
Modifier and Type | Method and Description |
---|---|
static DocumentBuilderFactory |
documentBuilderFactory()
Disables certain dangerous features that attempt to automatically fetch DTDs
See OWASP XXE Cheat Sheet
|
static XMLInputFactory |
xmlInputFactory() |
public static XMLInputFactory xmlInputFactory()
ThreadLocal
copy of XMLInputFactory
.public static DocumentBuilderFactory documentBuilderFactory() throws ParserConfigurationException
ParserConfigurationException
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.