ISVNInfoHandler
, org.xml.sax.Locator
public class SVNXMLInfoHandler extends AbstractXMLHandler implements ISVNInfoHandler
Constructor | Description |
---|---|
SVNXMLInfoHandler(org.xml.sax.ContentHandler contentHandler) |
Creates a new info handler.
|
SVNXMLInfoHandler(org.xml.sax.ContentHandler contentHandler,
org.tmatesoft.svn.util.ISVNDebugLog log) |
Creates a new info handler.
|
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.String |
getHeaderName() |
|
protected java.lang.String |
getRelativePath(java.io.File path) |
|
protected java.lang.String |
getTargetPath() |
|
void |
handleInfo(SVNInfo info) |
Handles info producing corresponding xml.
|
void |
setTargetPath(java.io.File path) |
Sets the target path what makes all paths be relative to this one.
|
addAttribute, addTag, closeTag, endDocument, getColumnNumber, getDebugLog, getLineNumber, getPublicId, getSystemId, openTag, startDocument
public SVNXMLInfoHandler(org.xml.sax.ContentHandler contentHandler)
contentHandler
- a ContentHandler to form
an XML treepublic SVNXMLInfoHandler(org.xml.sax.ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log)
contentHandler
- a ContentHandler to form
an XML treelog
- a debug loggerpublic void setTargetPath(java.io.File path)
path
- target pathprotected java.lang.String getHeaderName()
getHeaderName
in class AbstractXMLHandler
public void handleInfo(SVNInfo info) throws SVNException
handleInfo
in interface ISVNInfoHandler
info
- infoSVNException
protected java.lang.String getRelativePath(java.io.File path)
protected java.lang.String getTargetPath()