public static QName getQNameProperty(String key, Properties props)
  {

    String s = props.getProperty(key);

    if (null != s)
      return QName.getQNameFromString(s);
    else
      return null;
  }
public static QName getQNameProperty ( String key , Properties props ) { String s = props . getProperty ( key ) ; if ( null != s ) return QName . getQNameFromString ( s ) ; else return null ; }
Searches for the qname property with the specified key in the property list.
If the key is not found in this property list, the default property list,
and its defaults, recursively, are then checked. The method returns
<code>null</code> if the property is not found.

@param   key   the property key.
@param props the list of properties to search in.
@return  the value in this property list as a QName value, or false
if null or not "yes".