/** * @throws SAXException */ public final void startDocument() throws SAXException { namespaceContext.clear(); try { startDocumentInternal(); } catch (XMLStreamException ex) { throw new SAXException("Could not handle startDocument: " + ex.getMessage(), ex); } }
public final void endDocument() throws SAXException { namespaceContext.clear(); try { endDocumentInternal(); } catch (XMLStreamException ex) { throw new SAXException("Could not handle startDocument: " + ex.getMessage(), ex); } }