Here you can find the source of getQNameWithDifferentLocal(QName qName, String localName)
public static QName getQNameWithDifferentLocal(QName qName, String localName)
//package com.java2s; //License from project: Apache License import javax.xml.namespace.QName; public class Main { public static QName getQNameWithDifferentLocal(QName qName, String localName)/* ww w .ja v a2 s . c o m*/ /* */{ /* 59 */QName trustedQName = null; /* */ /* 62 */trustedQName = new QName(qName.getNamespaceURI(), localName, qName.getPrefix()); /* 63 */return trustedQName; /* */} }