public interface SAXParserProvider
SAXParser instances. Implementations may
configure and cache instances for performance.| Modifier and Type | Method and Description |
|---|---|
SAXParser |
getSAXParser(boolean validating)
Gets a pre-configured
SAXParser from the underlying implementation. |
SAXParser getSAXParser(boolean validating) throws ParserConfigurationException, SAXException
SAXParser from the underlying implementation. Note: SAXParser instances
are not thread-safe and so should not shared between threads. Multiple calls to this method on the same
provider from the same thread may return the same instance, but are not required to.validating - Whether the returned document builder should perform XML validation or not.ParserConfigurationException - if there is an error configuring the parser.SAXException - if an error occurs initialising the SAX parser.Copyright © 2010–2023 Open Identity Platform Community. All rights reserved.