# File lib/jabber4r/protocol.rb, line 1098 1098: def add_child(tag) 1099: child = ParsedXMLElement.new(tag, self) 1100: @element_children[tag] = Array.new if not @element_children.has_key? tag 1101: @element_children[tag] << child 1102: return child 1103: end