Resource root = graph.syncRequest(new IndexRoot(doc));
return Pair.make(componentType, root);
} else {
Resource root = graph.syncRequest(new IndexRoot(doc));
return Pair.make(componentType, root);
} else {
Resource root = graph.syncRequest(new IndexRoot(component));
// Resource componentType = graph.getSingleType(doc);
return Pair.make(null, root);
Resource root = graph.syncRequest(new IndexRoot(component));
// Resource componentType = graph.getSingleType(doc);
return Pair.make(null, root);