code: @Override
      public javax.xml.namespace.QName toQName () {
      	String escapedLocal=qnU.escapeToXsdLocalName(qnU.unescapeProvLocalName(local));
  	if (qnU.is_NC_Name(escapedLocal)) {
  	    if (prefix==null) {
  		return new javax.xml.namespace.QName(namespace,escapedLocal);
  	    } else {
  		return new javax.xml.namespace.QName(namespace,escapedLocal,prefix);
  	    }
  	} else {
  	    throw new QualifiedNameException("PROV-XML QName: local not valid " + local);
  
  	}
      }
docs: /* (non-Javadoc)
  @see org.openprovenance.prov.model.QualifiedName#toQName()