Class: Document (REXML)

Overview
Module Structure
Class Hierarchy
Constants
Document::DECLARATION
Class Methods
Document.parse_stream / 2
Document.entity_expansion_limit= / 1
Document.entity_expansion_limit
Instance Aliases
Document#name
Document#<<
Instance Attributes
Document#entity_expansion_count [R]
Instance Methods
Document#initialize / 2
Document#node_type
Document#clone
Document#expanded_name
Document#add / 1
Document#add_element / 2
Document#root
Document#doctype
Document#xml_decl
Document#version
Document#encoding
Document#stand_alone?
Document#write / 4
Document#record_entity_expansion
Document#build / 1
is a submodule of
module: REXML   
inherits from
  Element ( REXML )
has properties
constant: DECLARATION   
method: initialize / 2   
method: node_type   
method: clone   
method: expanded_name   
alias: name expanded_name   
method: add / 1   
alias: << add   
method: add_element / 2   
method: root   
method: doctype   
method: xml_decl   
method: version   
method: encoding   
method: stand_alone?   
method: write / 4   
class method: parse_stream / 2   
class method: entity_expansion_limit= / 1   
class method: entity_expansion_limit   
attribute: entity_expansion_count [R]   
method: record_entity_expansion   
method: build / 1   
is defined at
#20 in rexml/document.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: REXML
class: Document     
class: Element     

Class Hierarchy

Object ( Builtin-Module )
has properties
method: dclone   
Child ( REXML )
includes
  Node ( REXML )
has properties
attribute: parent [R]   
method: initialize / 1   
method: replace_with / 1   
method: remove   
method: parent= / 1   
alias: next_sibling next_sibling_node   
alias: previous_sibling previous_sibling_node   
method: next_sibling= / 1   
method: previous_sibling= / 1   
method: document   
method: bytes   
Parent ( REXML )
includes
  Enumerable ( Builtin-Module )
has properties
method: initialize   
method: add / 1   
alias: push add   
alias: << push   
method: unshift / 1   
method: delete / 1   
method: each / 1   
method: delete_if / 1   
method: delete_at / 1   
method: each_index / 1   
method: [] / 1   
alias: each_child each   
method: []= / 1   
method: insert_before / 2   
method: insert_after / 2   
method: to_a   
method: index / 1   
method: size   
alias: length size   
method: replace_child / 2   
method: deep_clone   
alias: children to_a   
method: parent?   
Element ( REXML )
includes
  Namespace ( REXML )
has properties
constant: UNDEFINED   
attribute: attributes [R]   
attribute: elements [R]   
attribute: context [RW]   
method: initialize / 3   
method: inspect   
method: clone   
method: root_node   
method: root   
method: document   
method: whitespace   
method: ignore_whitespace_nodes   
method: raw   
method: prefixes   
method: namespaces   
method: namespace / 1   
method: add_namespace / 2   
method: delete_namespace   
method: add_element   
method: delete_element   
method: has_elements?   
method: each_element_with_attribute / 5   
method: each_element_with_text / 4   
method: each_element / 2   
method: get_elements / 1   
method: next_element   
method: previous_element   
method: has_text?   
method: text / 1   
method: get_text   
method: text= / 1   
method: add_text / 1   
method: node_type   
method: xpath   
method: attribute / 2   
method: has_attributes?   
method: add_attribute / 2   
method: add_attributes   
method: delete_attribute / 1   
method: cdatas   
method: comments   
method: instructions   
method: texts   
method: write / 4   
method: __to_xpath_helper   
method: each_with_something / 3   
Document ( REXML )
has properties
constant: DECLARATION   
method: initialize / 2   
method: node_type   
method: clone   
method: expanded_name   
alias: name expanded_name   
method: add / 1   
alias: << add   
method: add_element / 2   
method: root   
method: doctype   
method: xml_decl   
method: version   
method: encoding   
method: stand_alone?   
method: write / 4   
class method: parse_stream / 2   
class method: entity_expansion_limit= / 1   
class method: entity_expansion_limit   
attribute: entity_expansion_count [R]   
method: record_entity_expansion   
method: build / 1   

Constants

Document::DECLARATION

#25 in rexml/document.rb

DECLARATION = XMLDecl.default   

Class Methods

Document.parse_stream / 2

#200 in rexml/document.rb

parse_stream ( source ,
  listener )

Document.entity_expansion_limit= / 1

#207 in rexml/document.rb

entity_expansion_limit= ( val )

Document.entity_expansion_limit

#212 in rexml/document.rb

entity_expansion_limit

Instance Aliases

Document#name

#63 in rexml/document.rb

name expanded_name   

Document#<<

#96 in rexml/document.rb

<< add   

Instance Attributes

Document#entity_expansion_count [R]

#216 in rexml/document.rb

Instance Methods

Document#initialize / 2

#34 in rexml/document.rb

initialize ( source = nil ,
  context = {} )

Document#node_type

#47 in rexml/document.rb

node_type

Document#clone

#52 in rexml/document.rb

clone

Document#expanded_name

#57 in rexml/document.rb

expanded_name

Document#add / 1

#67 in rexml/document.rb

add ( child )

Document#add_element / 2

#98 in rexml/document.rb

add_element ( arg=nil ,
  arg2=nil )

Document#root

#106 in rexml/document.rb

root

Document#doctype

#114 in rexml/document.rb

doctype

Document#xml_decl

#120 in rexml/document.rb

xml_decl

Document#version

#128 in rexml/document.rb

version

Document#encoding

#134 in rexml/document.rb

encoding

Document#stand_alone?

#140 in rexml/document.rb

stand_alone?

Document#write / 4

#183 in rexml/document.rb

write ( output=$stdout ,
  indent=-1 ,
  trans=false ,
  ie_hack=false )

Document#record_entity_expansion

#218 in rexml/document.rb

record_entity_expansion

Document#build / 1

#226 in rexml/document.rb

build ( source )