Class DAVEditorHandler
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.DAVEditorHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Direct Known Subclasses:
DAVReplayHandler
- Version:
- 1.3
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final DAVElementprotected static final DAVElementprotected static final DAVElementprotected static final DAVElementprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final DAVElementprotected static final Stringprotected static final DAVElementprotected static final DAVElementprotected static final Stringprivate Stringprivate DAVConnectionprivate IHTTPConnectionFactoryprivate Stringprivate ISVNDeltaConsumerprotected Stackprotected ISVNEditorprivate Stringprivate booleanprivate Stringprivate booleanprotected booleanprotected booleanprivate booleanprivate booleanprivate booleanprotected Mapprotected DAVRepositoryprotected Stringprotected Stringprivate Stringprivate Mapprivate ISVNWorkingCopyContentMediatorprotected static final Stringprotected static final DAVElementprotected static final DAVElementprotected static final Stringstatic final Stringprotected static final DAVElementprotected static final DAVElementprotected static final Stringprotected static final Stringprotected static final DAVElementprotected static final Stringprotected static final DAVElementprotected static final DAVElementFields inherited from class org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVDeltaHandler
TX_DELTAFields inherited from class org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler
DAV_NAMESPACES_LIST, SVN_DAV_NAMESPACES_LIST, SVN_NAMESPACES_LIST -
Constructor Summary
ConstructorsConstructorDescriptionDAVEditorHandler(IHTTPConnectionFactory connectionFactory, DAVRepository owner, ISVNEditor editor, Map lockTokens, boolean fetchContent, boolean hasTarget, ISVNWorkingCopyContentMediator workingCopyContentMediator) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddNodeProperties(String path, boolean isDir) private voidaddProps(DAVProperties props, boolean isDir) voidprivate static StringcomputeWCPropertyName(DAVElement element) protected voidendElement(DAVElement parent, DAVElement element, StringBuffer cdata) protected voidstatic StringBuffergenerateEditorRequest(DAVConnection connection, StringBuffer xmlBuffer, String url, long targetRevision, String target, String dstPath, SVNDepth depth, Map lockTokens, boolean ignoreAncestry, boolean resourceWalk, boolean fetchContents, boolean sendCopyFromArgs, boolean sendAll, ISVNReporterBaton reporterBaton) private DAVConnectionprotected Stringprotected ISVNDeltaConsumerprotected voidstartElement(DAVElement parent, DAVElement element, Attributes attrs) Methods inherited from class org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVDeltaHandler
characters, init, setDeltaProcessingMethods inherited from class org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler
allocateBuffer, createPropertyValue, createPropertyValueFromBase64, endElement, endPrefixMapping, getNamespaces, invalidXML, startElement, startPrefixMappingMethods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
PLACEHOLDER_PROPERTY_NAME
- See Also:
-
TARGET_REVISION
-
UPDATE_REPORT
-
RESOURCE
-
OPEN_DIRECTORY
-
ADD_DIRECTORY
-
ABSENT_DIRECTORY
-
OPEN_FILE
-
ADD_FILE
-
ABSENT_FILE
-
DELETE_ENTRY
-
FETCH_PROPS
-
SET_PROP
-
REMOVE_PROP
-
FETCH_FILE
-
REVISION_ATTR
- See Also:
-
NAME_ATTR
- See Also:
-
ENCODING_ATTR
- See Also:
-
COPYFROM_REV_ATTR
- See Also:
-
COPYFROM_PATH_ATTR
- See Also:
-
INLINE_PROPS_ATTR
- See Also:
-
SEND_ALL_ATTR
- See Also:
-
BC_URL_ATTR
- See Also:
-
BASE_CHECKSUM_ATTR
- See Also:
-
PATH_ATTR
- See Also:
-
SHA1_CHECKSUM_ATTR
- See Also:
-
myEditor
-
myPath
-
myPropertyName
-
myIsDirectory
protected boolean myIsDirectory -
myDirs
-
myLockTokens
-
myOwner
-
myIsFetchContent
protected boolean myIsFetchContent -
myChecksum
-
myEncoding
-
myDeltaConsumer
-
myIsAddPropsIncluded
private boolean myIsAddPropsIncluded -
myIsReceiveAll
private boolean myIsReceiveAll -
myConnection
-
myConnectionFactory
-
myHref
-
myCurrentWCPath
-
myIsInResource
private boolean myIsInResource -
myIsFetchProps
private boolean myIsFetchProps -
myHasTarget
private boolean myHasTarget -
myVersionURLs
-
mySha1Checksum
-
myWorkingCopyContentMediator
-
-
Constructor Details
-
DAVEditorHandler
public DAVEditorHandler(IHTTPConnectionFactory connectionFactory, DAVRepository owner, ISVNEditor editor, Map lockTokens, boolean fetchContent, boolean hasTarget, ISVNWorkingCopyContentMediator workingCopyContentMediator)
-
-
Method Details
-
generateEditorRequest
public static StringBuffer generateEditorRequest(DAVConnection connection, StringBuffer xmlBuffer, String url, long targetRevision, String target, String dstPath, SVNDepth depth, Map lockTokens, boolean ignoreAncestry, boolean resourceWalk, boolean fetchContents, boolean sendCopyFromArgs, boolean sendAll, ISVNReporterBaton reporterBaton) throws SVNException - Throws:
SVNException
-
closeConnection
public void closeConnection() -
startElement
protected void startElement(DAVElement parent, DAVElement element, Attributes attrs) throws SVNException - Specified by:
startElementin classBasicDAVHandler- Throws:
SVNException
-
endElement
protected void endElement(DAVElement parent, DAVElement element, StringBuffer cdata) throws SVNException - Specified by:
endElementin classBasicDAVHandler- Throws:
SVNException
-
getCurrentPath
- Specified by:
getCurrentPathin classBasicDAVDeltaHandler
-
getDeltaConsumer
- Specified by:
getDeltaConsumerin classBasicDAVDeltaHandler
-
fetchFile
- Throws:
SVNException
-
addNodeProperties
- Throws:
SVNException
-
addProps
- Throws:
SVNException
-
getConnection
- Throws:
SVNException
-
computeWCPropertyName
-