|
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.SVNXMLStatusHandler
This is an implementation of the ISVNStatusHandler interface that writes XML formatted status information to a specified ContentHandler.
Field Summary | |
static String |
AUTHOR_TAG
|
static String |
COMMENT_TAG
|
static String |
COMMIT_TAG
|
static String |
COPIED_ATTR
|
static String |
CREATED_TAG
|
static String |
DATE_TAG
|
static String |
ENTRY_TAG
|
static String |
EXPIRES_TAG
|
static String |
ITEM_ATTR
|
static String |
LOCK_TAG
|
static String |
OWNER_TAG
|
static String |
PATH_ATTR
|
static String |
PROPS_ATTR
|
static String |
REMOTE_STATUS_TAG
|
static String |
REVISION_ATTR
|
static String |
STATUS_TAG
|
static String |
SWITCHED_ATTR
|
static String |
TOKEN_TAG
|
static String |
WC_LOCKED_ATTR
|
static String |
WC_STATUS_TAG
|
Constructor Summary | |
SVNXMLStatusHandler(ContentHandler saxHandler)
Creates a new status handler. |
|
SVNXMLStatusHandler(ContentHandler saxHandler,
org.tmatesoft.svn.util.ISVNDebugLog log)
Creates a new status handler. |
Method Summary | |
void |
endTarget(long revision)
Closes the formatted XML with the revision against which the status is run. |
protected String |
getHeaderName()
|
protected String |
getRelativePath(File path)
|
protected String |
getTargetPath()
|
void |
handleStatus(SVNStatus status)
Handles WC item's status information using an SVNStatus object. |
void |
startTarget(File path)
Begins an XML tree with the target path for which the status is run. |
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 EXPIRES_TAG
public static final String CREATED_TAG
public static final String COMMENT_TAG
public static final String OWNER_TAG
public static final String TOKEN_TAG
public static final String DATE_TAG
public static final String AUTHOR_TAG
public static final String REVISION_ATTR
public static final String SWITCHED_ATTR
public static final String COPIED_ATTR
public static final String WC_LOCKED_ATTR
public static final String PROPS_ATTR
public static final String ITEM_ATTR
public static final String PATH_ATTR
public static final String REMOTE_STATUS_TAG
public static final String LOCK_TAG
public static final String COMMIT_TAG
public static final String WC_STATUS_TAG
public static final String ENTRY_TAG
public static final String STATUS_TAG
Constructor Detail |
public SVNXMLStatusHandler(ContentHandler saxHandler)
saxHandler
- a ContentHandler to form
an XML treepublic SVNXMLStatusHandler(ContentHandler saxHandler, org.tmatesoft.svn.util.ISVNDebugLog log)
saxHandler
- a ContentHandler to form
an XML treelog
- a debug loggerMethod Detail |
public void startTarget(File path)
path
- a WC target pathpublic void handleStatus(SVNStatus status) throws SVNException
ISVNStatusHandler
handleStatus
in interface ISVNStatusHandler
status
- an object that contains per item status information
SVNException
public void endTarget(long revision)
revision
- a revision against which the status is runprotected String getRelativePath(File path)
protected String getTargetPath()
protected String getHeaderName()
getHeaderName
in class AbstractXMLHandler
|
SVNKit Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |