docs: protected static synchronized void registerAllowedChildClass(Class<? extends ElementBase> clazz,
                                                                   Class<? extends ElementBase> childClass,
                                                                   int maxOccurrences) {
          allowedChildClasses.addCardinality(clazz, childClass, maxOccurrences);
      }