private static void parseXMLAttributes ( NamedNodeMap attrMap , List < UNode > childUNodeList ) { for ( int index = 0 ; index < attrMap . getLength ( ) ; index ++ ) { Attr attr = ( Attr ) attrMap . item ( index ) ; UNode childNode = createValueNode ( attr . getName ( ) , attr . getValue ( ) , true ) ; childUNodeList . add ( childNode ) ; } }
if to the given child node list .