protected Map<String, Object> doGetAttributes() throws Exception
{
final Map<String, Object> attributes = new HashMap<String, Object>();
try
{
URLFileName fileName = (URLFileName) getName();
DavPropertySet properties = getProperties(fileName, PropFindMethod.PROPFIND_ALL_PROP,
new DavPropertyNameSet(), false);
@SuppressWarnings("unchecked") // iterator() is documented to return DavProperty instances
Iterator<DavProperty> iter = properties.iterator();
while (iter.hasNext())