com.atlassian.confluence.xml
Class SafeXmlParserFactory
java.lang.Object
com.atlassian.confluence.xml.SafeXmlParserFactory
public class SafeXmlParserFactory
- extends Object
Central point to create XML parsers with uniform safe configurations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_ENTITY_RESOLVER
public static final EntityResolver EMPTY_ENTITY_RESOLVER
SafeXmlParserFactory
public SafeXmlParserFactory()
createDocumentBuilderFactory
public static DocumentBuilderFactory createDocumentBuilderFactory()
throws ParserConfigurationException
- Throws:
ParserConfigurationException
createXmlReader
public static XMLReader createXmlReader()
throws SAXException,
ParserConfigurationException
- Throws:
SAXException
ParserConfigurationException
createNamespaceAwareXmlReader
public static XMLReader createNamespaceAwareXmlReader()
throws SAXException,
ParserConfigurationException
- Throws:
SAXException
ParserConfigurationException
createSaxReader
public static org.dom4j.io.SAXReader createSaxReader()
throws SAXException,
ParserConfigurationException
- Throws:
SAXException
ParserConfigurationException
createSAXBuilder
public static org.jdom.input.SAXBuilder createSAXBuilder()
Copyright © 2003-2012 Atlassian. All Rights Reserved.