@Override
public List<DavResource> list(String url, int depth, java.util.Set<QName> props) throws IOException
{
Propfind body = new Propfind();
Prop prop = new Prop();
ObjectFactory objectFactory = new ObjectFactory();
prop.setGetcontentlength(objectFactory.createGetcontentlength());
prop.setGetlastmodified(objectFactory.createGetlastmodified());
prop.setCreationdate(objectFactory.createCreationdate());
prop.setDisplayname(objectFactory.createDisplayname());
prop.setGetcontenttype(objectFactory.createGetcontenttype());
prop.setResourcetype(objectFactory.createResourcetype());
prop.setGetetag(objectFactory.createGetetag());
List<Element> any = prop.getAny();
for (QName entry : props) {
Element element = SardineUtil.createElement(entry);
any.add(element);
}
body.setProp(prop);