|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler net.sf.statsvn.util.SvnInfoUtils.SvnInfoHandler
protected static class SvnInfoUtils.SvnInfoHandler
SAX parser for the svn info --xml command.
Constructor Summary | |
---|---|
SvnInfoUtils.SvnInfoHandler(SvnInfoUtils infoUtils)
|
Method Summary | |
---|---|
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? |
protected static boolean |
isValidInfoEntry(org.xml.sax.Attributes attributes)
Is this a valid info entry? |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
Start of XML element. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SvnInfoUtils.SvnInfoHandler(SvnInfoUtils infoUtils)
Method Detail |
---|
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 attributes
protected static boolean isValidCommit(org.xml.sax.Attributes attributes)
attributes
- the xml attributes
protected static boolean isValidInfoEntry(org.xml.sax.Attributes attributes)
attributes
- the xml attributes.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |