public class DAVEditorHandler extends BasicDAVDeltaHandler
TX_DELTA
DAV_NAMESPACES_LIST, SVN_DAV_NAMESPACES_LIST, SVN_NAMESPACES_LIST
Constructor and Description |
---|
DAVEditorHandler(IHTTPConnectionFactory connectionFactory,
DAVRepository owner,
ISVNEditor editor,
Map lockTokens,
boolean fetchContent,
boolean hasTarget,
ISVNWorkingCopyContentMediator workingCopyContentMediator) |
Modifier and Type | Method and Description |
---|---|
protected void |
addNodeProperties(String path,
boolean isDir) |
void |
closeConnection() |
protected void |
endElement(DAVElement parent,
DAVElement element,
StringBuffer cdata) |
protected void |
fetchFile(String baseChecksum) |
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) |
protected String |
getCurrentPath() |
protected ISVNDeltaConsumer |
getDeltaConsumer() |
protected void |
startElement(DAVElement parent,
DAVElement element,
Attributes attrs) |
characters, init, setDeltaProcessing
allocateBuffer, createPropertyValue, createPropertyValueFromBase64, endElement, endPrefixMapping, getNamespaces, invalidXML, startElement, startPrefixMapping
endDocument, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, unparsedEntityDecl, warning
public static final String PLACEHOLDER_PROPERTY_NAME
protected static final DAVElement TARGET_REVISION
protected static final DAVElement UPDATE_REPORT
protected static final DAVElement RESOURCE
protected static final DAVElement OPEN_DIRECTORY
protected static final DAVElement ADD_DIRECTORY
protected static final DAVElement ABSENT_DIRECTORY
protected static final DAVElement OPEN_FILE
protected static final DAVElement ADD_FILE
protected static final DAVElement ABSENT_FILE
protected static final DAVElement DELETE_ENTRY
protected static final DAVElement FETCH_PROPS
protected static final DAVElement SET_PROP
protected static final DAVElement REMOVE_PROP
protected static final DAVElement FETCH_FILE
protected static final String REVISION_ATTR
protected static final String NAME_ATTR
protected static final String ENCODING_ATTR
protected static final String COPYFROM_REV_ATTR
protected static final String COPYFROM_PATH_ATTR
protected static final String INLINE_PROPS_ATTR
protected static final String SEND_ALL_ATTR
protected static final String BC_URL_ATTR
protected static final String BASE_CHECKSUM_ATTR
protected static final String PATH_ATTR
protected static final String SHA1_CHECKSUM_ATTR
protected ISVNEditor myEditor
protected String myPath
protected String myPropertyName
protected boolean myIsDirectory
protected Stack myDirs
protected Map myLockTokens
protected DAVRepository myOwner
protected boolean myIsFetchContent
public DAVEditorHandler(IHTTPConnectionFactory connectionFactory, DAVRepository owner, ISVNEditor editor, Map lockTokens, boolean fetchContent, boolean hasTarget, ISVNWorkingCopyContentMediator workingCopyContentMediator)
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
SVNException
public void closeConnection()
protected void startElement(DAVElement parent, DAVElement element, Attributes attrs) throws SVNException
startElement
in class BasicDAVHandler
SVNException
protected void endElement(DAVElement parent, DAVElement element, StringBuffer cdata) throws SVNException
endElement
in class BasicDAVHandler
SVNException
protected String getCurrentPath()
getCurrentPath
in class BasicDAVDeltaHandler
protected ISVNDeltaConsumer getDeltaConsumer()
getDeltaConsumer
in class BasicDAVDeltaHandler
protected void fetchFile(String baseChecksum) throws SVNException
SVNException
protected void addNodeProperties(String path, boolean isDir) throws SVNException
SVNException
Copyright © 2023. All rights reserved.