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 ContentHandlerprivate ISVNDebugLogprivate AttributesImpl -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractXMLHandler(ContentHandler contentHandler, ISVNDebugLog log) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAttribute(String name, String value) protected voidprotected voidvoidStops logging.intprotected ISVNDebugLogprivate ContentHandlerprotected abstract Stringintprotected voidvoidStarts 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:
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
-