Package org.tmatesoft.svn.core.wc.xml
Class SVNXMLInfoHandler
java.lang.Object
org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler
org.tmatesoft.svn.core.wc.xml.SVNXMLInfoHandler
- All Implemented Interfaces:
ISVNInfoHandler
,Locator
- Since:
- 1.2
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
Constructor Summary
ConstructorsConstructorDescriptionSVNXMLInfoHandler
(ContentHandler contentHandler) Creates a new info handler.SVNXMLInfoHandler
(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log) Creates a new info handler. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
getRelativePath
(File path) protected String
void
handleInfo
(SVNInfo info) Handles info producing corresponding xml.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, getColumnNumber, getDebugLog, getLineNumber, getPublicId, getSystemId, openTag, startDocument
-
Constructor Details
-
SVNXMLInfoHandler
Creates a new info handler.- Parameters:
contentHandler
- a ContentHandler to form an XML tree
-
SVNXMLInfoHandler
Creates a new info handler.- Parameters:
contentHandler
- a ContentHandler to form an XML treelog
- a debug logger
-
-
Method Details
-
setTargetPath
Sets the target path what makes all paths be relative to this one.- Parameters:
path
- target path
-
getHeaderName
- Specified by:
getHeaderName
in classAbstractXMLHandler
-
handleInfo
Handles info producing corresponding xml.- Specified by:
handleInfo
in interfaceISVNInfoHandler
- Parameters:
info
- info- Throws:
SVNException
-
getRelativePath
-
getTargetPath
-