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.
Since:
1.2
Version:
1.3
Author:
TMate Software Ltd.
  • Field Details

  • Constructor Details

    • 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 tree
      log - a debug logger
  • Method Details

    • 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
      Handles a next log entry producing corresponding xml.
      Specified by:
      handleLogEntry in interface ISVNLogEntryHandler
      Parameters:
      logEntry - log entry
      Throws:
      SVNException
    • setOmitLogMessage

      public void setOmitLogMessage(boolean omitLogMessage)
      Sets whether log messages must be omitted or not.
      Parameters:
      omitLogMessage - true to omit; otherwise false