Java XML QName Get getQNameWithDifferentLocal(QName qName, String localName)

Here you can find the source of getQNameWithDifferentLocal(QName qName, String localName)

Description

get Q Name With Different Local

License

Apache License

Declaration

public static QName getQNameWithDifferentLocal(QName qName,
            String localName)
    

Method Source Code

//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;
        /*     */}
}

Related

  1. getQNameFromString(Element element, String qnameAsString)
  2. getQNameFromString(Object obj)
  3. getQNameHashCode(QName aQName)
  4. getQNameType(List objects, QName qName)
  5. getQNameWithBackslashedLocal( QName suspectQName)

  6. HOME | Copyright © www.java2s.com 2016