* @throws RepositoryException {@link RepositoryException}
*/
protected CollectionResource(final int type, final URI identifier, Node node,
final WebDavNamespaceContext namespaceContext) throws IllegalResourceTypeException, RepositoryException
{
super(type, identifier, new WebDavNamespaceContext(node.getSession()));
this.node = node;
}