public class SVNXMLInfoHandler extends AbstractXMLHandler implements ISVNInfoHandler
Constructor and Description |
---|
SVNXMLInfoHandler(org.xml.sax.ContentHandler contentHandler)
Creates a new info handler.
|
SVNXMLInfoHandler(org.xml.sax.ContentHandler contentHandler,
ISVNDebugLog log)
Creates a new info handler.
|
Modifier and Type | Method and 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, 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()
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.