|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler org.tmatesoft.svn.core.wc.xml.SVNXMLLogHandler
public class SVNXMLLogHandler
This log handler implementation writes xml formatted information about the log entries it's passed to a specified ContentHandler.
Field Summary | |
---|---|
static java.lang.String |
ACTION_ATTR
'action' attribute. |
static java.lang.String |
AUTHOR_TAG
'author' tag. |
static java.lang.String |
COPYFROM_PATH_ATTR
'copyfrom-path' attribute. |
static java.lang.String |
COPYFROM_REV_ATTR
'copyfrom-rev' attribute. |
static java.lang.String |
DATE_TAG
'date' tag. |
static java.lang.String |
LOG_TAG
'log' tag. |
static java.lang.String |
LOGENTRY_TAG
'logentry' tag. |
static java.lang.String |
MSG_TAG
'msg' tag. |
static java.lang.String |
PATH_TAG
'path' tag. |
static java.lang.String |
PATHS_TAG
'paths' tag. |
static java.lang.String |
REVISION_ATTR
'revision' attribute. |
Constructor Summary | |
---|---|
SVNXMLLogHandler(org.xml.sax.ContentHandler contentHandler)
Creates a new log handler. |
|
SVNXMLLogHandler(org.xml.sax.ContentHandler contentHandler,
ISVNDebugLog log)
Creates a new log handler. |
Method Summary | |
---|---|
java.lang.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 java.lang.String COPYFROM_REV_ATTR
'copyfrom-rev'
attribute.
public static final java.lang.String COPYFROM_PATH_ATTR
'copyfrom-path'
attribute.
public static final java.lang.String ACTION_ATTR
'action'
attribute.
public static final java.lang.String REVISION_ATTR
'revision'
attribute.
public static final java.lang.String MSG_TAG
'msg'
tag.
public static final java.lang.String PATH_TAG
'path'
tag.
public static final java.lang.String PATHS_TAG
'paths'
tag.
public static final java.lang.String DATE_TAG
'date'
tag.
public static final java.lang.String AUTHOR_TAG
'author'
tag.
public static final java.lang.String LOGENTRY_TAG
'logentry'
tag.
public static final java.lang.String LOG_TAG
'log'
tag.
Constructor Detail |
---|
public SVNXMLLogHandler(org.xml.sax.ContentHandler contentHandler)
contentHandler
- a ContentHandler to form
an XML treepublic SVNXMLLogHandler(org.xml.sax.ContentHandler contentHandler, ISVNDebugLog log)
contentHandler
- a ContentHandler to form
an XML treelog
- a debug loggerMethod Detail |
---|
public java.lang.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |