common_helper/src/main/java/com/xiongyingqi/util/xml/AbstractStaxContentHandler.java
protected QName toQName(String namespaceUri, String qualifiedName) {
        int idx = qualifiedName.indexOf(':');
        if (idx == -1) {
            return new QName(namespaceUri, qualifiedName);
        } else {
            String prefix = qualifiedName.substring(0, idx);
            String localPart = qualifiedName.substring(idx + 1);
            return new QName(namespaceUri, localPart, prefix);
        }
    }
protected QName toQName(String namespaceUri, String qualifiedName) {
        int idx = qualifiedName.indexOf(':');
        if (idx == -1) {
            return new QName(namespaceUri, qualifiedName);
        } else {
            String prefix = qualifiedName.substring(0, idx);
            String localPart = qualifiedName.substring(idx + 1);
            return new QName(namespaceUri, localPart, prefix);
        }
    }
protected QName toQName ( String namespaceUri , String qualifiedName ) { int idx = qualifiedName . indexOf ( ' ' ) ; if ( idx == - 1 ) { return new QName ( namespaceUri , qualifiedName ) ; } else { String prefix = qualifiedName . substring ( 0 , idx ) ; String localPart = qualifiedName . substring ( idx + 1 ) ; return new QName ( namespaceUri , localPart , prefix ) ; } }
Convert a namespace URI and DOM or SAX qualified name to a {@code QName}. The qualified name can have the form
{@code prefix:localname} or {@code localName}.

@param namespaceUri  the namespace URI
@param qualifiedName the qualified name
@return a QName
Convert a namespace URI and DOM or SAX qualified name to a { @code QName } . The qualified name can have the form { @code prefix : localname } or { @code localName } .