Here you can find the source of convertQNameToFullname(QName qn)
public static String convertQNameToFullname(QName qn)
//package com.java2s; //License from project: LGPL import javax.xml.namespace.QName; public class Main { public static String convertQNameToFullname(QName qn) { String returnValue = ""; String nsu = qn.getNamespaceURI(); if (nsu != null && nsu.length() != 0) { returnValue = "{" + nsu + "}"; }//from ww w .j a v a 2s.c o m returnValue += qn.getLocalPart(); return returnValue; } }