Class: XMLScan::XPath::DOM::PINodeAdapter

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

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

#name_localpartObject



96
97
98
# File 'lib/xml/dom2/xpath.rb', line 96

def name_localpart
  @node.nodeName
end

#node_typeObject



92
93
94
# File 'lib/xml/dom2/xpath.rb', line 92

def node_type
  :processing_instruction
end

#string_valueObject



100
101
102
# File 'lib/xml/dom2/xpath.rb', line 100

def string_value
  @node.nodeValue
end