serviceProperties.add("foo/bar");
QueryInfo rootQuery = new QueryInfo(new ServiceResourceDefinition(), serviceProperties);
TreeNode<QueryInfo> queryTree = new TreeNodeImpl<QueryInfo>(null, rootQuery, "Service");
HashSet<String> componentProperties = new HashSet<String>();
componentProperties.add("goo/car");
queryTree.addChild(new QueryInfo(new ComponentResourceDefinition(), componentProperties), "Component");
DefaultRenderer renderer = new DefaultRenderer();
renderer.init(schemaFactory);
TreeNode<Set<String>> propertyTree = renderer.finalizeProperties(queryTree, false);