Class SVNXMLInfoHandler

java.lang.Object
org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler
org.tmatesoft.svn.core.wc.xml.SVNXMLInfoHandler
All Implemented Interfaces:
ISVNInfoHandler, org.xml.sax.Locator

public class SVNXMLInfoHandler extends AbstractXMLHandler implements ISVNInfoHandler
Since:
1.2
Version:
1.3
  • Field Details

  • Constructor Details

    • SVNXMLInfoHandler

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

      public SVNXMLInfoHandler(org.xml.sax.ContentHandler contentHandler, ISVNDebugLog log)
      Creates a new info handler.
      Parameters:
      contentHandler - a ContentHandler to form an XML tree
      log - a debug logger
  • Method Details

    • setTargetPath

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

      protected java.lang.String getHeaderName()
      Specified by:
      getHeaderName in class AbstractXMLHandler
    • handleInfo

      public void handleInfo(SVNInfo info) throws SVNException
      Handles info producing corresponding xml.
      Specified by:
      handleInfo in interface ISVNInfoHandler
      Parameters:
      info - info
      Throws:
      SVNException
    • sendToHandler

      private void sendToHandler(SVNInfo info) throws org.xml.sax.SAXException
      Throws:
      org.xml.sax.SAXException
    • getRelativePath

      protected java.lang.String getRelativePath(java.io.File path)
    • getTargetPath

      protected java.lang.String getTargetPath()