Java XML QName serializeQName(QName qName)

Here you can find the source of serializeQName(QName qName)

Description

serialize Q Name

License

LGPL

Declaration

public static String serializeQName(QName qName) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

import javax.xml.namespace.QName;

public class Main {
    public static String serializeQName(QName qName) {
        if (qName == null) {
            return "";
        }/*from   w w w  .  j  a v  a 2  s .co m*/
        return qName.getNamespaceURI() + "#" + qName.getLocalPart();
    }
}

Related

  1. resolveNamespace(String qname, Node xml)
  2. resolveQName(final Element el, final String qualifiedName)
  3. resolveQName(String qNameWithPrefix, Element element)
  4. search(List list, Element baseElement, QName nodeName, boolean recursive)
  5. serializeJavaToXml(QName qname, Serializable value)
  6. setValue(java.util.Map map, String name, String newValue)
  7. splitQName(String qualifiedName)
  8. stringToQName(XMLStreamReader reader, String text, String defaultNS)
  9. toJavaName(QName xmlName)