|
SVNKit Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tmatesoft.svn.core.wc.xml.AbstractXMLHandler
org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
This log handler implementation writes xml formatted information about the log entries it's passed to a specified ContentHandler.
Field Summary | |
static String |
ACTION_ATTR
'action' attribute. |
static String |
AUTHOR_TAG
'author' tag. |
static String |
COPYFROM_PATH_ATTR
'copyfrom-path' attribute. |
static String |
COPYFROM_REV_ATTR
'copyfrom-rev' attribute. |
static String |
DATE_TAG
'date' tag. |
static String |
LOG_TAG
'log' tag. |
static String |
LOGENTRY_TAG
'logentry' tag. |
static String |
MSG_TAG
'msg' tag. |
static String |
PATH_TAG
'path' tag. |
static String |
PATHS_TAG
'paths' tag. |
static String |
REVISION_ATTR
'revision' attribute. |
Constructor Summary | |
SVNXMLLogHandler(ContentHandler contentHandler)
Creates a new log handler. |
|
SVNXMLLogHandler(ContentHandler contentHandler,
org.tmatesoft.svn.util.ISVNDebugLog log)
Creates a new log handler. |
Method Summary | |
String |
getHeaderName()
Returns the header name specific for a log handler. |
void |
handleLogEntry(SVNLogEntry logEntry)
Handles a next log entry producing corresponding xml. |
void |
setOmitLogMessage(boolean omitLogMessage)
Sets whether log messages must be omitted or not. |
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 |
Field Detail |
public static final String COPYFROM_REV_ATTR
'copyfrom-rev'
attribute.
public static final String COPYFROM_PATH_ATTR
'copyfrom-path'
attribute.
public static final String ACTION_ATTR
'action'
attribute.
public static final String REVISION_ATTR
'revision'
attribute.
public static final String MSG_TAG
'msg'
tag.
public static final String PATH_TAG
'path'
tag.
public static final String PATHS_TAG
'paths'
tag.
public static final String DATE_TAG
'date'
tag.
public static final String AUTHOR_TAG
'author'
tag.
public static final String LOGENTRY_TAG
'logentry'
tag.
public static final String LOG_TAG
'log'
tag.
Constructor Detail |
public SVNXMLLogHandler(ContentHandler contentHandler)
contentHandler
- a ContentHandler to form
an XML treepublic SVNXMLLogHandler(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log)
contentHandler
- a ContentHandler to form
an XML treelog
- a debug loggerMethod Detail |
public String getHeaderName()
getHeaderName
in class AbstractXMLHandler
LOG_TAG
stringpublic void handleLogEntry(SVNLogEntry logEntry) throws SVNException
handleLogEntry
in interface ISVNLogEntryHandler
logEntry
- log entry
SVNException
public void setOmitLogMessage(boolean omitLogMessage)
omitLogMessage
- true to omit;
otherwise false
|
SVNKit Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |