/** * 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()); if (status.isLocked()) { addAttribute(WC_LOCKED_ATTR, TRUE); addAttribute(COPIED_ATTR, TRUE); addAttribute(SWITCHED_ATTR, TRUE); addAttribute(REVISION_ATTR, status.getRevision().toString()); addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) {
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()); if (status.isLocked()) { addAttribute(WC_LOCKED_ATTR, TRUE); addAttribute(COPIED_ATTR, TRUE); addAttribute(SWITCHED_ATTR, TRUE); addAttribute(REVISION_ATTR, status.getRevision().toString()); addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) {
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()); if (status.isLocked()) { addAttribute(WC_LOCKED_ATTR, TRUE); addAttribute(COPIED_ATTR, TRUE); addAttribute(SWITCHED_ATTR, TRUE); addAttribute(REVISION_ATTR, status.getRevision().toString()); addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) {
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()); if (status.isLocked()) { addAttribute(WC_LOCKED_ATTR, TRUE); addAttribute(COPIED_ATTR, TRUE); addAttribute(SWITCHED_ATTR, TRUE); addAttribute(REVISION_ATTR, status.getRevision().toString()); addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); addAttribute(PROPS_ATTR, status.getRemotePropertiesStatus().toString()); addAttribute(ITEM_ATTR, status.getRemoteContentsStatus().toString()); openTag(REMOTE_STATUS_TAG); if (status.getRemoteLock() != null) {