return parent;
}
private static Node addResourceType(int id, String name, boolean visible) {
Node child = new Node("Resource");
child.addAttribute("id", String.valueOf(id));
child.addAttribute("name", name);
child.addAttribute("visible", String.valueOf(visible));
return child;
}
}