/** * Emits the current comment token. * * @param pos * TODO * * @throws SAXException */ private void emitComment(int provisionalHyphens, int pos) throws SAXException { // [NOCPP[ if (wantsComments) { // ]NOCPP] // if (longStrBufOffset != -1) { // tokenHandler.comment(buf, longStrBufOffset, longStrBufLen // - provisionalHyphens); // } else { tokenHandler.comment(longStrBuf, 0, longStrBufLen - provisionalHyphens); // } // [NOCPP[ } // ]NOCPP] cstart = pos + 1; }
/** * Emits the current comment token. * * @param pos * TODO * * @throws SAXException */ private void emitComment(int provisionalHyphens, int pos) throws SAXException { // [NOCPP[ if (wantsComments) { // ]NOCPP] tokenHandler.comment(strBuf, 0, strBufLen - provisionalHyphens); // [NOCPP[ } // ]NOCPP] clearStrBufAfterUse(); cstart = pos + 1; }
/** * Emits the current comment token. * * @param pos * TODO * * @throws SAXException */ private void emitComment(int provisionalHyphens, int pos) throws SAXException { // [NOCPP[ if (wantsComments) { // ]NOCPP] tokenHandler.comment(strBuf, 0, strBufLen - provisionalHyphens); // [NOCPP[ } // ]NOCPP] clearStrBufAfterUse(); cstart = pos + 1; }