Class: Node (REXML::Light)

Overview
Module Structure
Class Hierarchy
Constants
Node::NAMESPLIT
Node::PARENTS
Instance Methods
Node#initialize
Node#size
Node#each / 1
Node#name
Node#name= / 2
Node#parent= / 1
Node#local_name
Node#local_name= / 1
Node#prefix / 1
Node#namespace / 1
Node#namespace= / 1
Node#[] / 2
Node#=~ / 1
Node#[]= / 3
Node#<<
Node#node_type
Node#text= / 1
Node#root
Node#has_name? / 2
Node#children
Node#parent
Node#to_s
Node#namesplit
Node#namespace_of / 2
Node#prefix_of / 2
is a submodule of
module: Light ( REXML )
inherits from
  Object ( Builtin-Module )
has properties
constant: NAMESPLIT   
constant: PARENTS   
method: initialize   
method: size   
method: each / 1   
method: name   
method: name= / 2   
method: parent= / 1   
method: local_name   
method: local_name= / 1   
method: prefix / 1   
method: namespace / 1   
method: namespace= / 1   
method: [] / 2   
method: =~ / 1   
method: []= / 3   
method: <<   
method: node_type   
method: text= / 1   
method: root   
method: has_name? / 2   
method: children   
method: parent   
method: to_s   
method: namesplit   
method: namespace_of / 2   
method: prefix_of / 2   
is defined at
#17 in rexml/light/node.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: <Built-in Module>
  module: REXML
  module: Light
class: Node     

Class Hierarchy

Object ( Builtin-Module )
has properties
method: dclone   
Node ( REXML::Light )
has properties
constant: NAMESPLIT   
constant: PARENTS   
method: initialize   
method: size   
method: each / 1   
method: name   
method: name= / 2   
method: parent= / 1   
method: local_name   
method: local_name= / 1   
method: prefix / 1   
method: namespace / 1   
method: namespace= / 1   
method: [] / 2   
method: =~ / 1   
method: []= / 3   
method: <<   
method: node_type   
method: text= / 1   
method: root   
method: has_name? / 2   
method: children   
method: parent   
method: to_s   
method: namesplit   
method: namespace_of / 2   
method: prefix_of / 2   

Constants

Node::NAMESPLIT

#18 in rexml/light/node.rb

NAMESPLIT = /^(?:(#{XMLTokens::NCNAME_STR}):)?(#{XMLTokens::NCNAME_STR})/u   

Node::PARENTS

#19 in rexml/light/node.rb

PARENTS = [ :element, :document, :doctype ]   

Instance Methods

Node#initialize

#21 in rexml/light/node.rb

initialize

Node#size

#36 in rexml/light/node.rb

size

Node#each / 1

#44 in rexml/light/node.rb

each ( &block )

Node#name

#48 in rexml/light/node.rb

name

Node#name= / 2

#52 in rexml/light/node.rb

name= ( name_str ,
  ns=nil )

Node#parent= / 1

#58 in rexml/light/node.rb

parent= ( node )

Node#local_name

#62 in rexml/light/node.rb

local_name

Node#local_name= / 1

#67 in rexml/light/node.rb

local_name= ( name_str )

Node#prefix / 1

#71 in rexml/light/node.rb

prefix ( namespace=nil )

Node#namespace / 1

#75 in rexml/light/node.rb

namespace ( prefix=prefix( )

Node#namespace= / 1

#79 in rexml/light/node.rb

namespace= ( namespace )

Node#[] / 2

#86 in rexml/light/node.rb

[] ( reference ,
  ns=nil )

Node#=~ / 1

#98 in rexml/light/node.rb

=~ ( path )

Node#[]= / 3

#103 in rexml/light/node.rb

[]= ( reference ,
  ns ,
  value=nil )

Node#<<

#122 in rexml/light/node.rb

<<

Node#node_type

#133 in rexml/light/node.rb

node_type

Node#text= / 1

#137 in rexml/light/node.rb

text= ( foo )

Node#root

#142 in rexml/light/node.rb

root

Node#has_name? / 2

#147 in rexml/light/node.rb

has_name? ( name ,
  namespace = '' )

Node#children

#151 in rexml/light/node.rb

children

Node#parent

#155 in rexml/light/node.rb

parent

Node#to_s

#159 in rexml/light/node.rb

to_s

Node#namesplit

#165 in rexml/light/node.rb

namesplit

Node#namespace_of / 2

#172 in rexml/light/node.rb

namespace_of ( node ,
  prefix=nil )

Node#prefix_of / 2

#184 in rexml/light/node.rb

prefix_of ( node ,
  namespace=nil )