Class: Element (TmStd::Xml)

Overview
Module Structure
Class Hierarchy
Instance Aliases
Element#attributes
Element#children
Instance Attributes
Element#tag [R]
Element#xmlns [R]
Element#attribute_map [R]
Element#seq_of_unit [R]
Instance Methods
Element#initialize / 4
Element#in_verbatim?
Element#empty?
Element#each / 1
Element#to_s / 1
Element#__print_tree__ / 7
Element#__print_tree_enter__ / 2
Element#__print_tree_leave__ / 2
is a submodule of
module: Xml ( TmStd )
has modular siblings
module: Abstraction   
class: Text   
class: RawString   
class: RawText   
class: Tag   
module: Attribute   
class: SeqOfUnit   
class: Document   
class: Include   
includes
  Enumerable ( Builtin-Module )
inherits from
  Unit ( TmStd::Xml::Abstraction )
is inherited by
  Document ( TmStd::Xml )
  Include ( TmStd::Xml )
has class siblings
  TextUnit ( TmStd::Xml::Abstraction )
has properties
attribute: tag [R]   
attribute: xmlns [R]   
attribute: attribute_map [R]   
attribute: seq_of_unit [R]   
alias: attributes attribute_map   
alias: children seq_of_unit   
method: initialize / 4   
method: in_verbatim?   
method: empty?   
method: each / 1   
method: to_s / 1   
method: __print_tree__ / 7   
method: __print_tree_enter__ / 2   
method: __print_tree_leave__ / 2   
is defined at
#243 in tmstd/xml.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: <Built-in Module>
module: Enumerable     
  module: TmStd
  module: Xml
  module: Abstraction
class: Unit     
class: TextUnit     
  class: Text
  class: RawString
  class: RawText
  class: Tag
  module: Attribute
  class: SeqOfUnit
✗ class: Element
  class: Document
  class: Include

Class Hierarchy

Object ( Builtin-Module )
String ( Builtin-Module )
  RawString ( TmStd::Xml )   
Abstract ( TmStd::Lsm )
Abstract ( TmStd::Lsm::Product )
Unit ( TmStd::Xml::Abstraction )
includes
  Treeable ( TmStd )
has properties
method: to_s   
method: __print_tree__ / 7   
method: __print_tree_indent__ / 2   
TextUnit ( TmStd::Xml::Abstraction )
  Text ( TmStd::Xml )   
  RawText ( TmStd::Xml )   
Element ( TmStd::Xml )
includes
  Enumerable ( Builtin-Module )
has properties
attribute: tag [R]   
attribute: xmlns [R]   
attribute: attribute_map [R]   
attribute: seq_of_unit [R]   
alias: attributes attribute_map   
alias: children seq_of_unit   
method: initialize / 4   
method: in_verbatim?   
method: empty?   
method: each / 1   
method: to_s / 1   
method: __print_tree__ / 7   
method: __print_tree_enter__ / 2   
method: __print_tree_leave__ / 2   
  Document     
  Include     
Identifier ( TmStd::Xml::Abstraction )
  Tag ( TmStd::Xml )   
Abstract ( TmStd::Lsm::Collection )

Instance Aliases

Element#attributes

#252 in tmstd/xml.rb

attributes attribute_map   

Element#children

#253 in tmstd/xml.rb

children seq_of_unit   

Instance Attributes

Element#tag [R]

#246 in tmstd/xml.rb

Element#xmlns [R]

#247 in tmstd/xml.rb

Element#attribute_map [R]

#248 in tmstd/xml.rb

Element#seq_of_unit [R]

#249 in tmstd/xml.rb

Instance Methods

Element#initialize / 4

#256 in tmstd/xml.rb

initialize ( tag ,
  attrs = {} ,
  opts = {} ,
  &block )

Element#in_verbatim?

#331 in tmstd/xml.rb

in_verbatim?

Element#empty?

#336 in tmstd/xml.rb

empty?

Element#each / 1

#341 in tmstd/xml.rb

each ( &block )

Element#to_s / 1

#348 in tmstd/xml.rb

to_s ( has_child = false )

Element#__print_tree__ / 7

#373 in tmstd/xml.rb

__print_tree__ ( io ,
  depth ,
  in_verbatim ,
  rejector ,
  selector ,
  do_sort ,
  comparator )

Element#__print_tree_enter__ / 2

#426 in tmstd/xml.rb

__print_tree_enter__ ( io ,
  has_child )

Element#__print_tree_leave__ / 2

#433 in tmstd/xml.rb

__print_tree_leave__ ( io ,
  has_child )