public class SvnXmlLogFileHandler
extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
SvnXmlLogFileHandler(SvnLogBuilder builder,
RepositoryFileManager repositoryFileManager)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Builds the string that was read; default implementation can invoke this
function multiple times while reading the data.
|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Handles the end of an xml element and redirects to the appropriate end*
method.
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
Handles the start of an xml element and redirects to the appropriate
start* method.
|
public SvnXmlLogFileHandler(SvnLogBuilder builder, RepositoryFileManager repositoryFileManager)
builder - where to send the informationrepositoryFileManager - the repository file manager needed to obtain some information.public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionpublic void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException - unexpected event.public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException - unexpected event.