org.tmatesoft.svn.core.wc.xml

Class AbstractXMLHandler

Known Direct Subclasses:
SVNXMLAnnotateHandler, SVNXMLDirEntryHandler, SVNXMLInfoHandler, SVNXMLLogHandler, SVNXMLStatusHandler

public abstract class AbstractXMLHandler
extends Object

AbstractXMLLogger is a basic XML formatter for all XML handler classes which are provided in this package. All XML output is written to a specified ContentHandler.
Version:
1.1.1
Author:
TMate Software Ltd.

Constructor Summary

AbstractXMLHandler(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log)

Method Summary

protected void
addAttribute(String name, String value)
protected void
addTag(String tagName, String value)
protected void
closeTag(String name)
void
endDocument()
Stops logging.
protected org.tmatesoft.svn.util.ISVNDebugLog
getDebugLog()
protected abstract String
getHeaderName()
protected void
openTag(String name)
void
startDocument()
Starts logging.

Constructor Details

AbstractXMLHandler

protected AbstractXMLHandler(ContentHandler contentHandler,
                             org.tmatesoft.svn.util.ISVNDebugLog log)

Method Details

addAttribute

protected void addAttribute(String name,
                            String value)

addTag

protected void addTag(String tagName,
                      String value)
            throws SAXException

closeTag

protected void closeTag(String name)
            throws SAXException

endDocument

public void endDocument()
Stops logging.

getDebugLog

protected org.tmatesoft.svn.util.ISVNDebugLog getDebugLog()

getHeaderName

protected abstract String getHeaderName()

openTag

protected void openTag(String name)
            throws SAXException

startDocument

public void startDocument()
Starts logging.

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