* @param visitorList
*/
public static void visit(WordprocessingMLPackage wmlPackage,
boolean bodyOnly, List<TraversalUtilVisitor> visitorList) {
CompoundTraversalUtilVisitorCallback callback = null;
if ((visitorList != null) && (!visitorList.isEmpty())) {
if (visitorList.size() > 1) {
visit(wmlPackage, bodyOnly,
new CompoundTraversalUtilVisitorCallback(visitorList));
} else {
visit(wmlPackage, bodyOnly, visitorList.get(0));
}
}
}