com.atlassian.bamboo.utils.xml
Class BambooXmlUtils
java.lang.Object
com.atlassian.bamboo.utils.xml.BambooXmlUtils
public class BambooXmlUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newSecureSaxReader
public static org.dom4j.io.SAXReader newSecureSaxReader()
newSecureDocumentBuilderFactory
public static DocumentBuilderFactory newSecureDocumentBuilderFactory(@Nullable
org.apache.log4j.Logger log)
newSecureXmlInputFactory
public static XMLInputFactory newSecureXmlInputFactory()
configure
public static XMLInputFactory configure(XMLInputFactory xmlInputFactory)
newSecureDigester
public static org.apache.commons.digester.Digester newSecureDigester()
newSecureXmlReader
public static XMLReader newSecureXmlReader()
sanitiseXml10
@NotNull
public static String sanitiseXml10(@NotNull
String value)
- Removes non-XML 1.0 characters from the input string. The input string is returned as-is if no
invalid characters are found.
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.