protected static class SvnInfoUtils.SvnInfoHandler
extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
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 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.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.SAXExceptionpublic 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.SAXExceptionprotected 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.