org.xwiki.xml
Interface XMLReaderFactory
@Role
public interface XMLReaderFactory
Factory to create optimised XMLReader. This gives us a level of indirection versus
using directly SAXParserFactory. We use that for example to
verify if we're using Xerces and if so we configure it to cache parsed DTD grammars for
better performance.
- Since:
- 1.7.1
- Version:
- $Id: 9424e30273d257b338da0e3a43d49d29e4a09f13 $
createXMLReader
XMLReader createXMLReader()
throws SAXException,
ParserConfigurationException
- Returns:
- the optimised XML Reader instance
- Throws:
SAXException - in case of an error in the creation of the XML Reader instance
ParserConfigurationException - in case of an error in the creation of the XML Reader instance
Copyright © 2004-2012 XWiki. All Rights Reserved.