code: public static DitaClass getInstance(final Attributes atts) {
          if (atts == null) {
              return null;
          }
          return getInstance(atts.getValue(ATTRIBUTE_NAME_CLASS));
      }
docs: Get class instance.
  @param atts attributes, may be {@code null}
  @return DITA class, {@code null} if the input didn't contains a class