public QName createQName ( String strName ) { String [ ] parts = strName . split ( ":" ) ; if ( parts . length > 1 ) return new QName ( getNamespaceURI ( parts [ 0 ] ) , parts [ 1 ] , parts [ 0 ] ) ; else return new QName ( parts [ 0 ] ) ; }
Converts String into QName .