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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ContentHandler
private ISVNDebugLog
private AttributesImpl
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractXMLHandler
(ContentHandler contentHandler, ISVNDebugLog log) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAttribute
(String name, String value) protected void
protected void
void
Stops logging.int
protected ISVNDebugLog
private ContentHandler
protected abstract String
int
protected void
void
Starts logging.
-
Field Details
-
myHandler
-
myLog
-
Constructor Details
-
AbstractXMLHandler
-
-
Method Details
-
getDebugLog
-
startDocument
public void startDocument()Starts logging. -
endDocument
public void endDocument()Stops logging. -
getHandler
-
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
-