public interface XMLParser
|Modifier and Type||Method and Description|
Parses the document identified by the given input source and sends SAX events to the given content handler.
void parse(InputSource source, ContentHandler handler, ErrorHandler errorHandler, EntityResolver entityResolver) throws SAXException, IOException
This method must be re-entrant.
errorHandler- Errors found during the parsing must be reported to this handler so that XSOM can recognize that something went wrong. Always a non-null valid object
entityResolver- Entity resolution should be done through this interface. Can be null.
SAXException- If ErrorHandler throws a SAXException, this method will tunnel it to the caller. All the other errors must be reported to the error handler.
Copyright © 2021 JBoss by Red Hat. All rights reserved.