Class: XMLScan::XPath::DOM::TextNodeAdapter

Inherits:
AbstractNodeAdapter show all
Defined in:
lib/xml/dom2/xpath.rb

Direct Known Subclasses

CommentNodeAdapter

Instance Attribute Summary

Attributes inherited from AbstractNodeAdapter

#node

Instance Method Summary collapse

Methods inherited from AbstractNodeAdapter

#children, #each_following_siblings, #each_preceding_siblings, #index, #lang, #parent, #root, #wrap

Instance Method Details

#node_typeObject



70
71
72
# File 'lib/xml/dom2/xpath.rb', line 70

def node_type
  :text
end

#string_valueObject



74
75
76
# File 'lib/xml/dom2/xpath.rb', line 74

def string_value
  @node.nodeValue
end