private void addXMLAttributes ( Map < String , String > attrMap ) { if ( m_children != null ) { for ( UNode childNode : m_children ) { // A child node must not contain a tag name to be considered an attribute. if ( childNode . m_type == NodeType . VALUE && childNode . m_bAttribute && Utils . isEmpty ( childNode . m_tagName ) ) { assert m_name != null && m_name . length ( ) > 0 ; attrMap . put ( childNode . m_name , childNode . m_value ) ; } } } }
Get the child nodes of this UNode that are VALUE nodes marked as attributes .