Class: XPath::NullNodeAdapter
- Inherits:
-
Object
- Object
- XPath::NullNodeAdapter
- Defined in:
- lib/xml/xpath.rb
Instance Method Summary collapse
- #attributes ⇒ Object
- #children ⇒ Object
- #each_following_siblings ⇒ Object
- #each_preceding_siblings ⇒ Object
- #index ⇒ Object
- #lang ⇒ Object
- #name_localpart ⇒ Object
- #namespace_uri ⇒ Object
- #namespaces ⇒ Object
- #node ⇒ Object
- #node_type ⇒ Object
- #parent ⇒ Object
- #qualified_name ⇒ Object
- #root ⇒ Object
- #select_id(*ids) ⇒ Object
- #string_value ⇒ Object
Instance Method Details
#attributes ⇒ Object
2495 2496 2497 |
# File 'lib/xml/xpath.rb', line 2495 def attributes [] end |
#children ⇒ Object
2485 2486 2487 |
# File 'lib/xml/xpath.rb', line 2485 def children [] end |
#each_following_siblings ⇒ Object
2489 2490 |
# File 'lib/xml/xpath.rb', line 2489 def each_following_siblings end |
#each_preceding_siblings ⇒ Object
2492 2493 |
# File 'lib/xml/xpath.rb', line 2492 def each_preceding_siblings end |
#index ⇒ Object
2503 2504 2505 |
# File 'lib/xml/xpath.rb', line 2503 def index 0 end |
#lang ⇒ Object
2527 2528 2529 |
# File 'lib/xml/xpath.rb', line 2527 def lang nil end |
#name_localpart ⇒ Object
2511 2512 2513 |
# File 'lib/xml/xpath.rb', line 2511 def name_localpart nil end |
#namespace_uri ⇒ Object
2519 2520 2521 |
# File 'lib/xml/xpath.rb', line 2519 def namespace_uri nil end |
#namespaces ⇒ Object
2499 2500 2501 |
# File 'lib/xml/xpath.rb', line 2499 def namespaces [] end |
#node ⇒ Object
2473 2474 2475 |
# File 'lib/xml/xpath.rb', line 2473 def node self end |
#node_type ⇒ Object
2507 2508 2509 |
# File 'lib/xml/xpath.rb', line 2507 def node_type nil end |
#parent ⇒ Object
2481 2482 2483 |
# File 'lib/xml/xpath.rb', line 2481 def parent nil end |
#qualified_name ⇒ Object
2515 2516 2517 |
# File 'lib/xml/xpath.rb', line 2515 def qualified_name name_localpart end |
#root ⇒ Object
2477 2478 2479 |
# File 'lib/xml/xpath.rb', line 2477 def root nil end |
#select_id(*ids) ⇒ Object
2531 2532 2533 |
# File 'lib/xml/xpath.rb', line 2531 def select_id(*ids) raise XPath::Error, "selection by ID is not supported" end |
#string_value ⇒ Object
2523 2524 2525 |
# File 'lib/xml/xpath.rb', line 2523 def string_value '' end |