Class DAVFileRevisionHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler
org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVDeltaHandler
org.tmatesoft.svn.core.internal.io.dav.handlers.DAVFileRevisionHandler
- All Implemented Interfaces:
org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DAVElement
private static final DAVElement
private static final DAVElement
private int
private ISVNFileRevisionHandler
private boolean
private java.lang.String
private SVNProperties
private SVNProperties
private java.lang.String
private java.lang.String
private long
private static final DAVElement
private static final DAVElement
Fields inherited from class org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVDeltaHandler
TX_DELTA
Fields inherited from class org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler
DAV_NAMESPACES_LIST, SVN_DAV_NAMESPACES_LIST, SVN_NAMESPACES_LIST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
endElement
(DAVElement parent, DAVElement element, java.lang.StringBuffer cdata) static java.lang.StringBuffer
generateFileRevisionsRequest
(java.lang.StringBuffer xmlBuffer, long startRevision, long endRevision, java.lang.String path, boolean includeMergedRevisions) protected java.lang.String
protected ISVNDeltaConsumer
int
private void
missingAttributeError
(DAVElement element, java.lang.String attr) protected void
startElement
(DAVElement parent, DAVElement element, org.xml.sax.Attributes attrs) Methods inherited from class org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVDeltaHandler
characters, init, setDeltaProcessing
Methods inherited from class org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler
allocateBuffer, createPropertyValue, createPropertyValueFromBase64, endElement, endPrefixMapping, getNamespaces, invalidXML, startElement, startPrefixMapping
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
REVISION_PROPERTY
-
FILE_REVISION
-
SET_PROPERTY
-
DELETE_PROPERTY
-
MERGED_REVISION
-
myFileRevisionsHandler
-
myPath
private java.lang.String myPath -
myRevision
private long myRevision -
myProperties
-
myPropertiesDelta
-
myPropertyName
private java.lang.String myPropertyName -
myPropertyEncoding
private java.lang.String myPropertyEncoding -
myIsMergedRevision
private boolean myIsMergedRevision -
myCount
private int myCount
-
-
Constructor Details
-
DAVFileRevisionHandler
-
-
Method Details
-
generateFileRevisionsRequest
public static java.lang.StringBuffer generateFileRevisionsRequest(java.lang.StringBuffer xmlBuffer, long startRevision, long endRevision, java.lang.String path, boolean includeMergedRevisions) -
startElement
protected void startElement(DAVElement parent, DAVElement element, org.xml.sax.Attributes attrs) throws SVNException - Specified by:
startElement
in classBasicDAVHandler
- Throws:
SVNException
-
endElement
protected void endElement(DAVElement parent, DAVElement element, java.lang.StringBuffer cdata) throws SVNException - Specified by:
endElement
in classBasicDAVHandler
- Throws:
SVNException
-
getEntriesCount
public int getEntriesCount() -
getDeltaConsumer
- Specified by:
getDeltaConsumer
in classBasicDAVDeltaHandler
-
getCurrentPath
protected java.lang.String getCurrentPath()- Specified by:
getCurrentPath
in classBasicDAVDeltaHandler
-
missingAttributeError
- Throws:
SVNException
-