}
private void addProps(DAVProperties props, boolean isDir) throws SVNException {
Map propsMap = props.getProperties();
for (Iterator propsIter = propsMap.keySet().iterator(); propsIter.hasNext();) {
DAVElement element = (DAVElement) propsIter.next();
SVNPropertyValue propValue = (SVNPropertyValue) propsMap.get(element);
String elementNamespace = element.getNamespace();
if (elementNamespace.equals(DAVElement.SVN_CUSTOM_PROPERTY_NAMESPACE)) {
String propName = element.getName();
if (isDir) {
myEditor.changeDirProperty(propName, propValue);
} else {
myEditor.changeFileProperty(myPath, propName, propValue);
}
continue;
}
if (elementNamespace.equals(DAVElement.SVN_SVN_PROPERTY_NAMESPACE)) {
String propName = SVNProperty.SVN_PREFIX + element.getName();
if (isDir) {
myEditor.changeDirProperty(propName, propValue);
} else {
myEditor.changeFileProperty(myPath, propName, propValue);
}