org.tmatesoft.svn.core.wc.xml
Class SVNXMLDirEntryHandler
java.lang.Object
org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler
org.tmatesoft.svn.core.wc.xml.SVNXMLDirEntryHandler
- All Implemented Interfaces:
- Comparator, ISVNDirEntryHandler
- public class SVNXMLDirEntryHandler
- extends AbstractXMLHandler
- implements ISVNDirEntryHandler, Comparator
This is an implementation of the ISVNStatusHandler interface
that writes XML formatted status information to a specified
ContentHandler.
- Version:
- 1.0
- Author:
- TMate Software Ltd.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXPIRES_TAG
public static final String EXPIRES_TAG
- See Also:
- Constant Field Values
CREATED_TAG
public static final String CREATED_TAG
- See Also:
- Constant Field Values
COMMENT_TAG
public static final String COMMENT_TAG
- See Also:
- Constant Field Values
OWNER_TAG
public static final String OWNER_TAG
- See Also:
- Constant Field Values
TOKEN_TAG
public static final String TOKEN_TAG
- See Also:
- Constant Field Values
LOCK_TAG
public static final String LOCK_TAG
- See Also:
- Constant Field Values
PATH_ATTR
public static final String PATH_ATTR
- See Also:
- Constant Field Values
REVISION_ATTR
public static final String REVISION_ATTR
- See Also:
- Constant Field Values
LISTS_TAG
public static final String LISTS_TAG
- See Also:
- Constant Field Values
LIST_TAG
public static final String LIST_TAG
- See Also:
- Constant Field Values
ENTRY_TAG
public static final String ENTRY_TAG
- See Also:
- Constant Field Values
NAME_TAG
public static final String NAME_TAG
- See Also:
- Constant Field Values
SIZE_TAG
public static final String SIZE_TAG
- See Also:
- Constant Field Values
COMMIT_TAG
public static final String COMMIT_TAG
- See Also:
- Constant Field Values
DATE_TAG
public static final String DATE_TAG
- See Also:
- Constant Field Values
AUTHOR_TAG
public static final String AUTHOR_TAG
- See Also:
- Constant Field Values
SVNXMLDirEntryHandler
public SVNXMLDirEntryHandler(ContentHandler saxHandler)
- Creates a new handler.
- Parameters:
saxHandler
- a ContentHandler to form
an XML tree
startTarget
public void startTarget(String path)
- Begins an XML tree with the target path for which the
status is run.
- Parameters:
path
- a WC target path or URL
handleDirEntry
public void handleDirEntry(SVNDirEntry entry)
throws SVNException
- Description copied from interface:
ISVNDirEntryHandler
- Handles a directory entry passed.
- Specified by:
handleDirEntry
in interface ISVNDirEntryHandler
- Parameters:
entry
- a directory entry
- Throws:
SVNException
- See Also:
SVNDirEntry
endTarget
public void endTarget()
getHeaderName
protected String getHeaderName()
- Specified by:
getHeaderName
in class AbstractXMLHandler
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interface Comparator
Copyright © 2004-2006 TMate Software Ltd. All Rights Reserved.