/** * Begins an XML tree with the target path for which the * status is run. * * @param path a WC target path */ public void startTarget(File path) { try { myTargetPath = path; addAttribute(PATH_ATTR, path.getPath()); openTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); } }
/** * Begins an XML tree with the target path for which the * status is run. * * @param path a WC target path */ public void startTarget(File path) { try { myTargetPath = path; addAttribute(PATH_ATTR, path.getPath()); openTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); } }
/** * Begins an XML tree with the target path for which the * status is run. * * @param path a WC target path */ public void startTarget(File path) { try { myTargetPath = path; addAttribute(PATH_ATTR, path.getPath()); openTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); } }
/** * Begins an XML tree with the target path for which the * status is run. * * @param path a WC target path */ public void startTarget(File path) { try { myTargetPath = path; addAttribute(PATH_ATTR, path.getPath()); openTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().error(e); } }
/** * Closes the formatted XML with the revision against which * the status is run. * * @param revision a revision against which the status is run */ public void endTarget(long revision) { try { myTargetPath = null; if (revision >= 0) { addAttribute(REVISION_ATTR, revision + ""); openTag(AGAINST_TAG); closeTag(AGAINST_TAG); } closeTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); } }
/** * Closes the formatted XML with the revision against which * the status is run. * * @param revision a revision against which the status is run */ public void endTarget(long revision) { try { myTargetPath = null; if (revision >= 0) { addAttribute(REVISION_ATTR, revision + ""); openTag(AGAINST_TAG); closeTag(AGAINST_TAG); } closeTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); } }
/** * Closes the formatted XML with the revision against which * the status is run. * * @param revision a revision against which the status is run */ public void endTarget(long revision) { try { myTargetPath = null; if (revision >= 0) { addAttribute(REVISION_ATTR, revision + ""); openTag(AGAINST_TAG); closeTag(AGAINST_TAG); } closeTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().error(e); } }
/** * Closes the formatted XML with the revision against which * the status is run. * * @param revision a revision against which the status is run */ public void endTarget(long revision) { try { myTargetPath = null; if (revision >= 0) { addAttribute(REVISION_ATTR, revision + ""); openTag(AGAINST_TAG); closeTag(AGAINST_TAG); } closeTag(TARGET_TAG); } catch (SAXException e) { getDebugLog().logSevere(SVNLogType.DEFAULT, e); } }
private void sendToHandler(SVNStatus status) throws SAXException { addAttribute(PATH_ATTR, getRelativePath(status.getFile())); openTag(ENTRY_TAG); addAttribute(PROPS_ATTR, status.getPropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getContentsStatus().toString()); addAttribute(REVISION_ATTR, status.getRevision().toString()); openTag(WC_STATUS_TAG); if (status.getCommittedRevision() != null && status.getCommittedRevision().getNumber() >= 0) { addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); if (status.getCommittedDate() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getLocalLock().getID()); addTag(OWNER_TAG, status.getLocalLock().getOwner()); addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getRemoteLock().getID()); addTag(OWNER_TAG, status.getRemoteLock().getOwner());
private void sendToHandler(SVNStatus status) throws SAXException { addAttribute(PATH_ATTR, getRelativePath(status.getFile())); openTag(ENTRY_TAG); addAttribute(PROPS_ATTR, status.getPropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getContentsStatus().toString()); addAttribute(REVISION_ATTR, status.getRevision().toString()); openTag(WC_STATUS_TAG); if (status.getCommittedRevision() != null && status.getCommittedRevision().getNumber() >= 0) { addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); if (status.getCommittedDate() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getLocalLock().getID()); addTag(OWNER_TAG, status.getLocalLock().getOwner()); addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getRemoteLock().getID()); addTag(OWNER_TAG, status.getRemoteLock().getOwner());
private void sendToHandler(SVNStatus status) throws SAXException { addAttribute(PATH_ATTR, getRelativePath(status.getFile())); openTag(ENTRY_TAG); addAttribute(PROPS_ATTR, status.getPropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getContentsStatus().toString()); addAttribute(REVISION_ATTR, status.getRevision().toString()); openTag(WC_STATUS_TAG); if (status.getCommittedRevision() != null && status.getCommittedRevision().getNumber() >= 0) { addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); if (status.getCommittedDate() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getLocalLock().getID()); addTag(OWNER_TAG, status.getLocalLock().getOwner()); addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getRemoteLock().getID()); addTag(OWNER_TAG, status.getRemoteLock().getOwner());
private void sendToHandler(SVNStatus status) throws SAXException { addAttribute(PATH_ATTR, getRelativePath(status.getFile())); openTag(ENTRY_TAG); addAttribute(PROPS_ATTR, status.getPropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getContentsStatus().toString()); addAttribute(REVISION_ATTR, status.getRevision().toString()); openTag(WC_STATUS_TAG); if (status.getCommittedRevision() != null && status.getCommittedRevision().getNumber() >= 0) { addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); if (status.getCommittedDate() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getLocalLock().getID()); addTag(OWNER_TAG, status.getLocalLock().getOwner()); addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) { openTag(LOCK_TAG); addTag(TOKEN_TAG, status.getRemoteLock().getID()); addTag(OWNER_TAG, status.getRemoteLock().getOwner());