net.sf.statsvn.util
protected static class SvnInfoUtils.SvnInfoHandler extends org.xml.sax.helpers.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(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
End of xml element.
|
SvnInfoUtils |
getInfoUtils() |
protected boolean |
isRootFolder(org.xml.sax.Attributes attributes)
Is this the root of the workspace?
|
protected static boolean |
isValidCommit(org.xml.sax.Attributes attributes)
Is this a valid commit? Check to see if wec an read the revision
number.
|
protected static boolean |
isValidInfoEntry(org.xml.sax.Attributes attributes)
Is this a valid info entry? Check to see if we can read path, kind
and revision.
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
Start of XML element.
|
public SvnInfoUtils.SvnInfoHandler(SvnInfoUtils infoUtils)
public SvnInfoUtils getInfoUtils()
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public 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.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
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.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
protected boolean isRootFolder(org.xml.sax.Attributes attributes)
attributes
- the xml attributesprotected static boolean isValidCommit(org.xml.sax.Attributes attributes)
attributes
- the xml attributesprotected static boolean isValidInfoEntry(org.xml.sax.Attributes attributes)
attributes
- the xml attributes.