improved functionality to ActiveXML::Node
authorJan Matejek <jmatejek@suse.cz>
Fri, 5 Oct 2007 13:25:17 +0000 (13:25 +0000)
committerJan Matejek <jmatejek@suse.cz>
Fri, 5 Oct 2007 13:25:17 +0000 (13:25 +0000)
commite0dddb0a5e12356bd1b732f97af94a5d22baae81
tree1ac6a3aae91280547547856567cc307c085305c0
parentce53f5d8a3b15b27765881f51ee1403c388486b6
improved functionality to ActiveXML::Node

- handles_xml_element
  specifies that this subclass of Node should be used
  to represent certain xml elements

- xml_attr_reader, xml_attr_writer, xml_attr_accessor
  automatically creates accessors for xml attributes

- text and text= methods for direct access to data.text

updated model classes with handles_xml_element calls
where appropriate
buildservice/lib/activexml/node.rb