/** * Closes the formatted XML output. * */ public void endTarget() { myLineNumber = 1; try { closeTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); } }
/** * Closes the formatted XML output. * */ public void endTarget() { myLineNumber = 1; try { closeTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); } }
/** * Closes the formatted XML output. * */ public void endTarget() { myLineNumber = 1; try { closeTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); } }
/** * Closes the formatted XML output. * */ public void endTarget() { myLineNumber = 1; try { closeTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().error(e); } }
addTag(AUTHOR_TAG, author); addTag(DATE_TAG, SVNDate.formatDate(date)); closeTag(COMMIT_TAG); addTag(AUTHOR_TAG, mergedAuthor); addTag(DATE_TAG, SVNDate.formatDate(mergedDate)); closeTag(COMMIT_TAG); closeTag(MERGED_TAG); closeTag(ENTRY_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e);
public void handleLine(Date date, long revision, String author, String line) throws SVNException { try { addAttribute(LINE_NUMBER_TAG, myLineNumber + ""); openTag(ENTRY_TAG); if (revision >= 0) { addAttribute(REVISION_ATTR, revision + ""); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, author); addTag(DATE_TAG, SVNTimeUtil.formatDate(date)); closeTag(COMMIT_TAG); } closeTag(ENTRY_TAG); } catch (SAXException e) { getDebugLog().error(e); SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.XML_MALFORMED, e.getLocalizedMessage()); SVNErrorManager.error(err, e); } finally { myLineNumber++; } } }
addTag(AUTHOR_TAG, author); addTag(DATE_TAG, SVNDate.formatDate(date)); closeTag(COMMIT_TAG); addTag(AUTHOR_TAG, mergedAuthor); addTag(DATE_TAG, SVNDate.formatDate(mergedDate)); closeTag(COMMIT_TAG); closeTag(MERGED_TAG); closeTag(ENTRY_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e);
/** * Handles line annotation producing corresponding xml tags. * * @param date * @param revision * @param author * @param line * @throws SVNException */ public void handleLine(Date date, long revision, String author, String line) throws SVNException { try { addAttribute(LINE_NUMBER_TAG, myLineNumber + ""); openTag(ENTRY_TAG); if (revision >= 0) { addAttribute(REVISION_ATTR, revision + ""); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, author); addTag(DATE_TAG, SVNDate.formatDate(date)); closeTag(COMMIT_TAG); } closeTag(ENTRY_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.XML_MALFORMED, e.getLocalizedMessage()); SVNErrorManager.error(err, e, SVNLogType.DEFAULT); } finally { myLineNumber++; } }
addTag(AUTHOR_TAG, author); addTag(DATE_TAG, SVNDate.formatDate(date)); closeTag(COMMIT_TAG); addTag(AUTHOR_TAG, mergedAuthor); addTag(DATE_TAG, SVNDate.formatDate(mergedDate)); closeTag(COMMIT_TAG); closeTag(MERGED_TAG); closeTag(ENTRY_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e);
/** * Handles line annotation producing corresponding xml tags. * * @param date * @param revision * @param author * @param line * @throws SVNException */ public void handleLine(Date date, long revision, String author, String line) throws SVNException { try { addAttribute(LINE_NUMBER_TAG, myLineNumber + ""); openTag(ENTRY_TAG); if (revision >= 0) { addAttribute(REVISION_ATTR, revision + ""); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, author); addTag(DATE_TAG, SVNDate.formatDate(date)); closeTag(COMMIT_TAG); } closeTag(ENTRY_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.XML_MALFORMED, e.getLocalizedMessage()); SVNErrorManager.error(err, e, SVNLogType.DEFAULT); } finally { myLineNumber++; } }
/** * Handles line annotation producing corresponding xml tags. * * @param date * @param revision * @param author * @param line * @throws SVNException */ public void handleLine(Date date, long revision, String author, String line) throws SVNException { try { addAttribute(LINE_NUMBER_TAG, myLineNumber + ""); openTag(ENTRY_TAG); if (revision >= 0) { addAttribute(REVISION_ATTR, revision + ""); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, author); addTag(DATE_TAG, SVNDate.formatDate(date)); closeTag(COMMIT_TAG); } closeTag(ENTRY_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.XML_MALFORMED, e.getLocalizedMessage()); SVNErrorManager.error(err, e, SVNLogType.DEFAULT); } finally { myLineNumber++; } }