Class SvnXmlRepositoriesFileHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
net.sf.statsvn.input.SvnXmlRepositoriesFileHandler
- All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
This is the SAX parser for the repositories xml file. This xml file
identifies the line counts xml files for all repositories for which
SVN stats have been compiled.
- Version:
- $Id: SvnXmlRepositoriesFileHandler.java 351 2008-03-28 18:46:26Z benoitx $
- Author:
- Gunter Mussbacher invalid input: '<'gunterm@site.uottawa.ca>
-
Constructor Summary
ConstructorsConstructorDescriptionSvnXmlRepositoriesFileHandler(RepositoriesBuilder repositoriesBuilder) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String uri, String localName, String qName) Handles the end of an xml element and redirects to the appropriate end* method.voidstartElement(String uri, String localName, String qName, Attributes attributes) Handles the start of an xml element and redirects to the appropriate start* method.Methods inherited from class DefaultHandler
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContentHandler
declaration
-
Constructor Details
-
SvnXmlRepositoriesFileHandler
Default constructor- Parameters:
repositoriesBuilder- the RepositoriesBuilder to which to send back the repository information.
-
-
Method Details
-
endElement
Handles the end of an xml element and redirects to the appropriate end* method.- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException- unexpected event.
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException Handles the start of an xml element and redirects to the appropriate start* method.- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException- unexpected event.
-