}
};
final Map containerNameToFragments = new HashMap();
try {
if (rootFormat != null) {
visitor.visitFormatChildren(rootFormat, containerNameToFragments);
}
} catch (FormatVisitorException e) {
e.printStackTrace();
throw new IllegalStateException("Cannot traverse format hierarchy");
}