net.sf.statsvn.input
public class SvnXmlLogFileHandler extends 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(String uri,
String localName,
String qName)
Handles the end of an xml element and redirects to the appropriate end*
method.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes)
Handles the start of an xml element and redirects to the appropriate
start* method.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
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 SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
- unexpected event.public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
- unexpected event.