code: public String getNameForXml() {
  
          String result;
          switch (getId()) {
              case 3: // xml strong
                  result = VALUE_STRONG;
                  break;
              case 4: // xml weak
                  result = VALUE_WEAK;
                  break;
              case 5: // jsp strong
                  result = VALUE_STRONG;
                  break;
              case 6: // jsp weak
                  result = VALUE_WEAK;
                  break;
              default:
                  result = getName();
          }
          return result;
      }
docs: Returns the type name for xml output.<p>
  
  The short type name of XML or JSP types is only <code>"WEAK"</code> or <code>"STRONG"</code>.
  For other types the short name is equal to the name.<p>
  
  In case you need the full type name, use {@link #getName()}.<p>
  
  @return the short type name
  
  @see #getName()
  @see CmsRelationType#valueOfJsp(String)
  @see CmsRelationType#valueOfXml(String)