com.atlassian.security.xml.libs
Class SecureDom4jFactory

java.lang.Object
  extended by com.atlassian.security.xml.libs.SecureDom4jFactory

public class SecureDom4jFactory
extends Object

A class with a utility method to produce a dom4j parser suitable for untrusted XML.

Since:
3.0

Method Summary
static org.dom4j.io.SAXReader newSaxReader()
          Create a dom4j SAXReader using SecureXmlParserFactory, suitable for parsing XML from an untrusted source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newSaxReader

public static org.dom4j.io.SAXReader newSaxReader()
Create a dom4j SAXReader using SecureXmlParserFactory, suitable for parsing XML from an untrusted source.



Copyright © 2013 Atlassian. All rights reserved.