code: public I_CmsXmlSchemaType addContentType(Class<?> clazz) throws CmsXmlException {
  
          I_CmsXmlSchemaType type;
          try {
              type = (I_CmsXmlSchemaType)clazz.newInstance();
          } catch (InstantiationException e) {
              throw new CmsXmlException(Messages.get().container(Messages.ERR_INVALID_XCC_TYPE_REGISTERED_0));
          } catch (IllegalAccessException e) {
              throw new CmsXmlException(Messages.get().container(Messages.ERR_INVALID_XCC_TYPE_REGISTERED_0));
          } catch (ClassCastException e) {
              throw new CmsXmlException(Messages.get().container(Messages.ERR_INVALID_XCC_TYPE_REGISTERED_0));
          }
          m_registeredTypes.put(type.getTypeName(), type);
          return type;
      }
docs: Adds a XML content schema type class to the registered XML content types.<p>
  
  @param clazz the XML content schema type class to add
  
  @return the created instance of the XML content schema type
  
  @throws CmsXmlException in case the class is not an instance of {@link I_CmsXmlSchemaType}