class XMLScan::XPath::DOM::AttrNodeAdapter
Public Instance Methods
Source
# File lib/xml/dom2/xpath.rb, line 204 def index -@visitor.get_attributes(parent).index(@node) end
Source
# File lib/xml/dom2/xpath.rb, line 188 def name_localpart @node.nodeName end
Source
# File lib/xml/dom2/xpath.rb, line 192 def namespace_uri @node.namespaceURI end
Source
# File lib/xml/dom2/xpath.rb, line 200 def parent @visitor.get_attr_parent @node end
Source
# File lib/xml/dom2/xpath.rb, line 196 def qualified_name @node.nodeName end
Source
# File lib/xml/dom2/xpath.rb, line 178 def wrap(node, visitor) @node = node @visitor = visitor self end