Package org.tmatesoft.svn.core.wc.xml
Class AbstractXMLHandler
java.lang.Object
org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler
- All Implemented Interfaces:
Locator
- Direct Known Subclasses:
SVNXMLAnnotateHandler,SVNXMLDirEntryHandler,SVNXMLInfoHandler,SVNXMLLogHandler,SVNXMLStatusHandler
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.
- Since:
- 1.2
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractXMLHandler(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAttribute(String name, String value) protected voidprotected voidvoidStops logging.intprotected org.tmatesoft.svn.util.ISVNDebugLogprotected abstract Stringintprotected voidvoidStarts logging.
-
Constructor Details
-
AbstractXMLHandler
protected AbstractXMLHandler(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log)
-
-
Method Details
-
getDebugLog
protected org.tmatesoft.svn.util.ISVNDebugLog getDebugLog() -
startDocument
public void startDocument()Starts logging. -
endDocument
public void endDocument()Stops logging. -
getHeaderName
-
openTag
- Throws:
SAXException
-
closeTag
- Throws:
SAXException
-
addTag
- Throws:
SAXException
-
addAttribute
-
getColumnNumber
public int getColumnNumber()- Specified by:
getColumnNumberin interfaceLocator- Returns:
0
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumberin interfaceLocator- Returns:
0
-
getPublicId
- Specified by:
getPublicIdin interfaceLocator- Returns:
- null
-
getSystemId
- Specified by:
getSystemIdin interfaceLocator- Returns:
- null
-