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
ConstructorsModifierConstructorDescriptionprotected
AbstractXMLHandler
(ContentHandler contentHandler, org.tmatesoft.svn.util.ISVNDebugLog log) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAttribute
(String name, String value) protected void
protected void
void
Stops logging.int
protected org.tmatesoft.svn.util.ISVNDebugLog
protected abstract String
int
protected void
void
Starts 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:
getColumnNumber
in interfaceLocator
- Returns:
0
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumber
in interfaceLocator
- Returns:
0
-
getPublicId
- Specified by:
getPublicId
in interfaceLocator
- Returns:
- null
-
getSystemId
- Specified by:
getSystemId
in interfaceLocator
- Returns:
- null
-