net.sf.statsvn.util
protected static class SvnInfoUtils.SvnInfoHandler extends DefaultHandler
Constructor and Description |
---|
SvnInfoUtils.SvnInfoHandler(SvnInfoUtils infoUtils) |
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)
End of xml element.
|
SvnInfoUtils |
getInfoUtils() |
protected boolean |
isRootFolder(Attributes attributes)
Is this the root of the workspace?
|
protected static boolean |
isValidCommit(Attributes attributes)
Is this a valid commit? Check to see if wec an read the revision
number.
|
protected static boolean |
isValidInfoEntry(Attributes attributes)
Is this a valid info entry? Check to see if we can read path, kind
and revision.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes)
Start of XML element.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public SvnInfoUtils.SvnInfoHandler(SvnInfoUtils infoUtils)
public SvnInfoUtils getInfoUtils()
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
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
protected boolean isRootFolder(Attributes attributes)
attributes
- the xml attributesprotected static boolean isValidCommit(Attributes attributes)
attributes
- the xml attributesprotected static boolean isValidInfoEntry(Attributes attributes)
attributes
- the xml attributes.