Package org.xwiki.xml
Interface XMLReaderFactory
-
@Role public interface XMLReaderFactory
Factory to create optimisedXMLReader
. This gives us a level of indirection versus using directlySAXParserFactory
. 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: fd630a2eb021c501cddd525d291438799a8f3d01 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XMLReader
createXMLReader()
-
-
-
Method Detail
-
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 instanceParserConfigurationException
- in case of an error in the creation of the XML Reader instance
-
-