ContentFinderVisitor contentFinderVisitor =
new ContentFinderVisitor();
try {
// Visit the child format searching for content.
// The visitation will return true if content is found
empty = !child.visit(contentFinderVisitor, null);
} catch (FormatVisitorException e) {
// We don't expect any exceptions, but just in case...
throw new RuntimeException(
exceptionLocalizer.format("unexpected-exception"),
e);