class XMLScan::XPath::DOM::ElementNodeAdapter
Public Instance Methods
Source
# File lib/xml/dom2/xpath.rb, line 162 def attributes map = @node.attributes attrs = @visitor.get_attributes(@node) unless attrs then attrs = [] map.length.times { |i| attrs.push map.item(i) } @visitor.regist_attributes @node, attrs end attrs end
Source
# File lib/xml/dom2/xpath.rb, line 150 def name_localpart @node.nodeName end
Source
# File lib/xml/dom2/xpath.rb, line 154 def namespace_uri @node.namespaceURI end
Source
# File lib/xml/dom2/xpath.rb, line 158 def qualified_name @node.nodeName end
Source
# File lib/xml/dom2/xpath.rb, line 140 def wrap(node, visitor) @node = node @visitor = visitor self end