/** * Receive notification of the beginning of a document. * This method is never a self generated call, * but only called externally. * * <p>The SAX parser will invoke this method only once, before any * other methods in this interface or in DTDHandler (except for * setDocumentLocator).</p> * * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. * * @throws org.xml.sax.SAXException */ public void startDocument() throws org.xml.sax.SAXException { // if we do get called with startDocument(), handle it right away startDocumentInternal(); m_needToCallStartDocument = false; return; }
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Receive notification of the beginning of a document. * * <p>The SAX parser will invoke this method only once, before any * other methods in this interface or in DTDHandler (except for * setDocumentLocator).</p> * * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. * * @throws org.xml.sax.SAXException */ protected void startDocumentInternal() throws org.xml.sax.SAXException { super.startDocumentInternal(); m_needToCallStartDocument = false; // No action for the moment. }
/** * Receive notification of the beginning of a document. * * <p>The SAX parser will invoke this method only once, before any * other methods in this interface or in DTDHandler (except for * setDocumentLocator).</p> * * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. * * @throws org.xml.sax.SAXException */ protected void startDocumentInternal() throws org.xml.sax.SAXException { super.startDocumentInternal(); m_needToCallStartDocument = false; // No action for the moment. }
/** * Receive notification of the beginning of a document. * This method is never a self generated call, * but only called externally. * * <p>The SAX parser will invoke this method only once, before any * other methods in this interface or in DTDHandler (except for * setDocumentLocator).</p> * * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. * * @throws org.xml.sax.SAXException */ public void startDocument() throws org.xml.sax.SAXException { // if we do get called with startDocument(), handle it right away startDocumentInternal(); m_needToCallStartDocument = false; return; }
/** * Receive notification of the beginning of a document. * This method is never a self generated call, * but only called externally. * * <p>The SAX parser will invoke this method only once, before any * other methods in this interface or in DTDHandler (except for * setDocumentLocator).</p> * * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. * * @throws org.xml.sax.SAXException */ public void startDocument() throws org.xml.sax.SAXException { // if we do get called with startDocument(), handle it right away startDocumentInternal(); m_needToCallStartDocument = false; return; }
/** * Receive notification of the beginning of a document. * This method is never a self generated call, * but only called externally. * * <p>The SAX parser will invoke this method only once, before any * other methods in this interface or in DTDHandler (except for * setDocumentLocator).</p> * * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. * * @throws org.xml.sax.SAXException */ public void startDocument() throws org.xml.sax.SAXException { // if we do get called with startDocument(), handle it right away startDocumentInternal(); m_needToCallStartDocument = false; return; }
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Pass callback to the SAX Handler */ protected void startDocumentInternal() throws SAXException { if (m_needToCallStartDocument) { super.startDocumentInternal(); m_saxHandler.startDocument(); m_needToCallStartDocument = false; } } /**
/** * Receive notification of the beginning of a document. * * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. * * @throws org.xml.sax.SAXException */ protected void startDocumentInternal() throws org.xml.sax.SAXException { super.startDocumentInternal(); m_needToCallStartDocument = false; m_needToOutputDocTypeDecl = true; m_startNewLine = false; setOmitXMLDeclaration(true); }
/** * Receive notification of the beginning of a document. * * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. * * @throws org.xml.sax.SAXException */ protected void startDocumentInternal() throws org.xml.sax.SAXException { super.startDocumentInternal(); m_needToCallStartDocument = false; m_needToOutputDocTypeDecl = true; m_startNewLine = false; setOmitXMLDeclaration(true); }