code: public void setType(String type) {
  
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(type)) {
              m_type = Type.parse(type.trim());
          }
      }
docs: Sets the selected navigation type.<p>
  
  This must match one of the elements in {@link Type}.<p>
  
  @param type the navigation type to set