hudson.scm
Class DirAwareSVNXMLLogHandler
java.lang.Object
org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler
org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
hudson.scm.DirAwareSVNXMLLogHandler
- All Implemented Interfaces:
- org.tmatesoft.svn.core.ISVNLogEntryHandler, Locator
public class DirAwareSVNXMLLogHandler
- extends org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
- implements org.tmatesoft.svn.core.ISVNLogEntryHandler
Special XML Log Handler that includes the "kind" attribute for path nodes which are ommited by the original.
This is a lot of copy paste code
- Author:
- qxa4177
| Fields inherited from class org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler |
ACTION_ATTR, AUTHOR_TAG, COPYFROM_PATH_ATTR, COPYFROM_REV_ATTR, DATE_TAG, LOG_TAG, LOGENTRY_TAG, MSG_TAG, PATH_TAG, PATHS_TAG, REVISION_ATTR |
|
Method Summary |
void |
handleLogEntry(org.tmatesoft.svn.core.SVNLogEntry logEntry)
Handles a next log entry producing corresponding xml. |
protected void |
sendToHandler(org.tmatesoft.svn.core.SVNLogEntry logEntry)
|
void |
setOmitLogMessage(boolean omitLogMessage)
Sets whether log messages must be omitted or not. |
| Methods inherited from class org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler |
getHeaderName |
| Methods inherited from class org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler |
addAttribute, addTag, closeTag, endDocument, getColumnNumber, getDebugLog, getLineNumber, getPublicId, getSystemId, openTag, startDocument |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KIND_ATTR
public static final String KIND_ATTR
- See Also:
- Constant Field Values
DirAwareSVNXMLLogHandler
public DirAwareSVNXMLLogHandler(ContentHandler contentHandler,
SVNLogFilter filter)
DirAwareSVNXMLLogHandler
public DirAwareSVNXMLLogHandler(ContentHandler contentHandler,
org.tmatesoft.svn.util.ISVNDebugLog log)
DirAwareSVNXMLLogHandler
public DirAwareSVNXMLLogHandler(ContentHandler contentHandler)
setOmitLogMessage
public void setOmitLogMessage(boolean omitLogMessage)
- Sets whether log messages must be omitted or not.
- Overrides:
setOmitLogMessage in class org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
- Parameters:
omitLogMessage - true to omit;
otherwise false
handleLogEntry
public void handleLogEntry(org.tmatesoft.svn.core.SVNLogEntry logEntry)
throws org.tmatesoft.svn.core.SVNException
- Handles a next log entry producing corresponding xml.
- Specified by:
handleLogEntry in interface org.tmatesoft.svn.core.ISVNLogEntryHandler- Overrides:
handleLogEntry in class org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
- Parameters:
logEntry - log entry
- Throws:
org.tmatesoft.svn.core.SVNException
sendToHandler
protected void sendToHandler(org.tmatesoft.svn.core.SVNLogEntry logEntry)
throws SAXException
- Throws:
SAXException
Copyright © 2004-2013. All Rights Reserved.