public void setQNameProperties ( String key , Vector v ) { int s = v . size ( ) ; // Just an initial guess at reasonable tuning parameters FastStringBuffer fsb = new FastStringBuffer ( 9 , 9 ) ; for ( int i = 0 ; i < s ; i ++ ) { QName qname = ( QName ) v . elementAt ( i ) ; fsb . append ( qname . toNamespacedString ( ) ) ; // Don't append space after last value if ( i < s - 1 ) fsb . append ( ' ' ) ; } m_properties . put ( key , fsb . toString ( ) ) ; }
Set an output property with a QName list value . The QNames will be turned into strings with the namespace in curly brackets .