|
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.SVNXMLDirEntryHandler
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 |
CREATED_TAG
|
static String |
DATE_TAG
|
static String |
ENTRY_TAG
|
static String |
EXPIRES_TAG
|
static String |
LIST_TAG
|
static String |
LISTS_TAG
|
static String |
LOCK_TAG
|
static String |
NAME_TAG
|
static String |
OWNER_TAG
|
static String |
PATH_ATTR
|
static String |
REVISION_ATTR
|
static String |
SIZE_TAG
|
static String |
TOKEN_TAG
|
Constructor Summary | |
SVNXMLDirEntryHandler(ContentHandler saxHandler)
Creates a new handler. |
|
SVNXMLDirEntryHandler(ContentHandler saxHandler,
org.tmatesoft.svn.util.ISVNDebugLog log)
Creates a new handler. |
Method Summary | |
int |
compare(Object o1,
Object o2)
Compares two objects. |
void |
endTarget()
Closes the formatted XML output. |
protected String |
getHeaderName()
|
void |
handleDirEntry(SVNDirEntry entry)
Handles a directory entry passed. |
void |
startTarget(String 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 |
Methods inherited from interface java.util.Comparator |
equals |
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 LOCK_TAG
public static final String PATH_ATTR
public static final String REVISION_ATTR
public static final String LISTS_TAG
public static final String LIST_TAG
public static final String ENTRY_TAG
public static final String NAME_TAG
public static final String SIZE_TAG
public static final String COMMIT_TAG
public static final String DATE_TAG
public static final String AUTHOR_TAG
Constructor Detail |
public SVNXMLDirEntryHandler(ContentHandler saxHandler)
saxHandler
- a ContentHandler to form
an XML treepublic SVNXMLDirEntryHandler(ContentHandler saxHandler, org.tmatesoft.svn.util.ISVNDebugLog log)
saxHandler
- a ContentHandler to form
an XML treelog
- a debug loggerMethod Detail |
public void startTarget(String path)
path
- a WC target path or URLpublic void handleDirEntry(SVNDirEntry entry) throws SVNException
ISVNDirEntryHandler
handleDirEntry
in interface ISVNDirEntryHandler
entry
- a directory entry
SVNException
SVNDirEntry
public void endTarget()
protected String getHeaderName()
getHeaderName
in class AbstractXMLHandler
public int compare(Object o1, Object o2)
compare
in interface Comparator
o1
- the first object to compareo2
- the second object to compare
o1
is
null or if both
o1
and o2
are SVNDirEntry
objects and the relative path of the first object is
lexicographically less than that of the second one; 1 otherwise
|
SVNKit Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |