org.tmatesoft.svn.core.wc.xml
Class SVNXMLLogHandler
java.lang.Object
org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler
org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
- All Implemented Interfaces:
- ISVNLogEntryHandler, Locator
- public class SVNXMLLogHandler
- extends AbstractXMLHandler
- implements ISVNLogEntryHandler
This log handler implementation writes xml formatted information
about the log entries it's passed to a specified ContentHandler.
- Version:
- 1.1.1
- Author:
- TMate Software Ltd.
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 |
COPYFROM_REV_ATTR
public static final String COPYFROM_REV_ATTR
- See Also:
- Constant Field Values
COPYFROM_PATH_ATTR
public static final String COPYFROM_PATH_ATTR
- See Also:
- Constant Field Values
ACTION_ATTR
public static final String ACTION_ATTR
- See Also:
- Constant Field Values
REVISION_ATTR
public static final String REVISION_ATTR
- See Also:
- Constant Field Values
MSG_TAG
public static final String MSG_TAG
- See Also:
- Constant Field Values
PATH_TAG
public static final String PATH_TAG
- See Also:
- Constant Field Values
PATHS_TAG
public static final String PATHS_TAG
- See Also:
- Constant Field Values
DATE_TAG
public static final String DATE_TAG
- See Also:
- Constant Field Values
AUTHOR_TAG
public static final String AUTHOR_TAG
- See Also:
- Constant Field Values
LOGENTRY_TAG
public static final String LOGENTRY_TAG
- See Also:
- Constant Field Values
LOG_TAG
public static final String LOG_TAG
- See Also:
- Constant Field Values
SVNXMLLogHandler
public SVNXMLLogHandler(ContentHandler contentHandler)
- Creates a new log handler.
- Parameters:
contentHandler
- a ContentHandler to form
an XML tree
SVNXMLLogHandler
public SVNXMLLogHandler(ContentHandler contentHandler,
org.tmatesoft.svn.util.ISVNDebugLog log)
- Creates a new log handler.
- Parameters:
contentHandler
- a ContentHandler to form
an XML treelog
- a debug logger
getHeaderName
public String getHeaderName()
- Returns the header name specific for a log handler.
- Specified by:
getHeaderName
in class AbstractXMLHandler
- Returns:
LOG_TAG
string
handleLogEntry
public void handleLogEntry(SVNLogEntry logEntry)
throws SVNException
- Description copied from interface:
ISVNLogEntryHandler
- Handles a log entry passed.
- Specified by:
handleLogEntry
in interface ISVNLogEntryHandler
- Parameters:
logEntry
- an SVNLogEntry
object
that represents per revision information
(committed paths, log message, etc.)
- Throws:
SVNException
Copyright © 2004-2007 TMate Software Ltd. All Rights Reserved.