{
resource = new VersionedFileResource(uri, node, nsContext);
}
else
{
resource = new VersionedCollectionResource(uri, node, nsContext);
}
Set<QName> properties = getProperties(body);
VersionTreeResponseEntity response = new VersionTreeResponseEntity(nsContext, resource, properties);