}
  public static QName valueOf(String qNameAsString)  {    String namespaceUri = "", prefix = null;    int start = qNameAsString.indexOf('{');    int end = qNameAsString.indexOf('}');    if (start != -1)      {        if (end < start)          {            throw new IllegalArgumentException(qNameAsString);          }        namespaceUri = qNameAsString.substring(start + 1, end);        qNameAsString = qNameAsString.substring(end + 1);      }    start = qNameAsString.indexOf(':');    if (start != -1)      {        prefix = qNameAsString.substring(0, start);        qNameAsString = qNameAsString.substring(start + 1);      }    return new QName(namespaceUri, qNameAsString, prefix);  }