org.tmatesoft.svn.core.wc.xml

Class SVNXMLInfoHandler

Implemented Interfaces:
ISVNInfoHandler

public class SVNXMLInfoHandler
extends AbstractXMLHandler
implements ISVNInfoHandler

Version:
1.1.1
Author:
TMate Software Ltd.

Constructor Summary

SVNXMLInfoHandler(ContentHandler contentHandler)
Creates a new info handler.
SVNXMLInfoHandler(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log)
Creates a new info handler.

Method Summary

protected String
getHeaderName()
protected String
getRelativePath(File path)
protected String
getTargetPath()
void
handleInfo(SVNInfo info)
Handles item's information using an SVNInfo object.
void
setTargetPath(File path)
Sets the target path what makes all paths be relative to this one.

Methods inherited from class org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler

addAttribute, addTag, closeTag, endDocument, getDebugLog, getHeaderName, openTag, startDocument

Constructor Details

SVNXMLInfoHandler

public SVNXMLInfoHandler(ContentHandler contentHandler)
Creates a new info handler.
Parameters:
contentHandler - a ContentHandler to form an XML tree

SVNXMLInfoHandler

public SVNXMLInfoHandler(ContentHandler contentHandler,
                         org.tmatesoft.svn.util.ISVNDebugLog log)
Creates a new info handler.
Parameters:
contentHandler - a ContentHandler to form an XML tree
log - a debug logger

Method Details

getHeaderName

protected String getHeaderName()
Overrides:
getHeaderName in interface AbstractXMLHandler

getRelativePath

protected String getRelativePath(File path)

getTargetPath

protected String getTargetPath()

handleInfo

public void handleInfo(SVNInfo info)
            throws SVNException
Handles item's information using an SVNInfo object.
Specified by:
handleInfo in interface ISVNInfoHandler
Parameters:
info - an object that contain's item's information details
Throws:
SVNException -

setTargetPath

public void setTargetPath(File path)
Sets the target path what makes all paths be relative to this one.
Parameters:
path - target path

Copyright © 2004-2006 TMate Software Ltd. All Rights Reserved.